Grid data shows in a “alert” instead of populating in the grid. Any idea why ?
Make sure you call ‘$g->render();’ function before any HTML is rendered
(echo’d) to output, as it expect exact JSON format for ajax calls. If it is later in the code, JSON will have the html code too which will cause this issue.
You can echo the output of render() function to desired location in html.
Abu Ghufran - Dev Team
PHP Grid Framework
Thank you that helps a lot.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!