Grid not showing

QuestionsGrid not showing
Sanchit asked 11 years ago

hello,
i am going to use phpGrid for my simple master module, all is going right until i use it in my template,
when i am going to use phpGrid on my template which is support by Bootstrap it's not showing the grid but data..

only json code is shows in such format..
{"page":"st_master","total":1,"records":"6","rows":[{"id":"1","name":"test"},{"id":"2","name":"test2"},{"id":"3","name":"test3"},{"id":"4","name":"test4"},{"id":"5","name":"test444"},{"id":"6","name":"test5"}]}

what's the matter?
please help me.

2 Answers
Sanchit answered 11 years ago

even i don't have any html code printed before $grid->render() function call

Abu Ghufran answered 11 years ago

It looks like you are using free version and 'page' variable in querystring.
If this is the case, you can rename the variable at phpgrid level using following code.

$opt["prmNames"] = array("page"=>"jqgrid_page");

$g->set_options($opt);

If issue still not resolved, you can get product updates / support by purchasing subscription.

Your Answer

20 + 5 =

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?