javascript - How to add parameters to jqgrid using setGridParam? -


this code working properly:

$("#list").jqgrid({ ... postdata: { filters:'{"groupop":"and","rules":[{"field":"category_id","op":"eq","data":"mydata"}]}' }, search: true, ... }); 

i tried add these parameters using setgridparam method:

jquery("#list").setgridparam({     postdata: { filters:'{"groupop":"and","rules":[{"field":"category_id","op":"eq","data":"mydata"}]}' },     search: true, }).trigger('reloadgrid'); 

but doesn't work


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -