I have downloaded the php grid free version. The index.php under phpgrid folder
shows the demo grid. Nice!!
Created a new php file test.php which contains html tags.
Included the index.php within the body tags of the test.php
" <php? include 'index.php'; ?> '
The grid shows up but NO DATA.
What could be the reason?
Thanks.
Q) How to debug no records (blank grid)?
Few considerations before use
1) include the jqgrid_dist.php file before any thing rendered to output.
2) Check the ajax response of grid,
Also 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
Use firefox->firebug->net->ajax-call of grid->response. You will see the output there, in case of any error. It should be proper JSON format data in order to render grid
Review this tutorial for '[debugging with firebug](https://phpgrid.desk.com/customer/portal/articles/926266)'.