Empty grid and "Under Construction" message

QuestionsEmpty grid and "Under Construction" message
edwardw asked 11 years ago

Hi
I just purchased phpGrid. When I run the file I get an empty grid covered by an "Under Construction" message which appears whenever I try to add data to the grid.
I'm using NetBeans as my editor and noticed errors in the jqgrid_dist.php and jquery.jqGrid.min.js files.
Any thoughts?

Thanks

1 Answers
Abu Ghufran answered 11 years ago

There could be multiple reasons.

1) Make sure, you call '$g->render();' function before any HTML is rendered (echo'd) to screen.
As it expect exact JSON format for ajax calls.

2) Check the ajax response of grid,

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)'.

If not resolved, email me at [email protected] with code and screenshot of error.

Your Answer

17 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?