phpgrid control within WordPress

Questionsphpgrid control within WordPress
Inc. Projects West asked 7 years ago

Is it possible to use the phpgrid within a post or page in WordPress?

I have been able to get the grid to appear with proper headers, but the data will not load.

http://stackoverflow.com/questions/12790362/jqgrid-in-wordpress-plugin

http://wordpress.org/support/topic/using-jqgrid-in-posts?replies=2

http://wordpress.org/support/topic/jqgrid-in-a-plugin?replies=1

4 Answers
Abu Ghufran answered 7 years ago

No data means, the ajax response is not JSON data.

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.

Reply back some screenshot or output in ajax response, for quick resolution.

Abu Ghufran answered 7 years ago

Forgot to mention, the include_once("jqgrid_dist.php"); statement should be placed before any thing is echo'd, to work properly. You need to bind it to some event which goes before headers are sent.

Inc. Projects West answered 7 years ago

I am not seeing the "ajax call of grid" option in the net section of Firebug. Where do I find this?

Abu Ghufran answered 7 years ago

Hi Kirk,

I've emailed you the plugin. You can change it as per your need. Also update the lib/js/css paths.
This is not officially released. It is planned to be a part of paid package.

Let me know the results

Regards,

Your Answer

20 + 17 =

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 / 5. Vote count:

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

Let us improve this post!