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

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -