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
Grid 4 PHP Framework
Thank you that helps a lot.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?