reloadGrid dont work

QuestionsreloadGrid dont work
Javier asked 7 months ago
Hello, excuse me, I'd like to know why sometimes not all records load in my grid?
Only load the first 20 records. I use php 7, mysql 5.7 and phpgrid 2.6.3 evaluacion version.
The code for refresh is:

old_url = jQuery('#lstGrid').getGridParam('url');
old_url = old_url + '&a='+ a;
jQuery('#lstGrid').jqGrid('setGridParam',{url: old_url, editurl:old_url,cellurl:old_url, jqgrid_page:1});
jQuery('#lstGrid').trigger('reloadGrid'); 

And the config of grid is:

$grid["numrow"] = 99999;
$grid["scroll"] = true; 
$grid["pgtext"] = null;
$grid["pgbuttons"] = null;
$grid["viewrecords"] = false; 
$grid["rowList"] = array() ; 


Thank you very much for the response.
Javier

 

1 Answers
Abu answered 7 months ago

Please try with latest version and if issue still comes, please share complete grid code to regenerate the case.

Download

Your Answer

11 + 15 =

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?