Click here to Skip to main content
15,885,869 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am using JqGrid in my application. I am trying to bind jqgrid with json data from server side using handler. Jqgrid shows data when i pass json data with values (Datatable to json) but when i pass blank json (empty string) it doesnt reload and old data is seen. Onload method is not fired when i pass blank json else method is fired when i pass json data.

What I have tried:

I tried demo jqgrid with local data and its working
Posted
Updated 15-Jul-16 11:27am
Comments
Kornfeld Eliyahu Peter 4-Jul-16 6:09am    
Can we see your code?

1 solution

$("#list").jqGrid('setGridParam', { 
        postData: {"limit":limit }
 }).trigger('reloadGrid');
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900