I am using jqGrid and I don't want the grid to autoload.
I only want the grid to load once a user enters filter criteria.
Any advice?
I am using jqGrid and I don't want the grid to autoload.
I only want the grid to load once a user enters filter criteria.
Any advice?
It seems the same question as I answerd before. You can define jqGrid with datatype:'local'
parameter and after the user set filter criteria you can change it ot datatype:'json'
with respect of
jQuery("#grid_id").jqGrid('setGridParam',{datatype:'json'});
By the way you can send the filter criterias to the server with respect of postData
parameter of jqGrid. See http://stackoverflow.com/questions/2928371/how-to-filter-the-jqgrid-data-not-using-the-built-in-search-filter-box/2928819#2928819 for details.