search - jqGrid multiple filters and searchoptions -


we have grid allows multiple filter search:

$("#"+gridid).jqgrid({     colnames: ['a', 'b'],     colmodel :[     {name:'a', index:'a', stype:'select', search: true, searchoptions: {sopt: ['eq','ne'], dataurl: '/api/a'}},     {name:'b', index:'b', stype:'select', search: true, searchoptions: {sopt: ['eq','ne'], dataurl: '/api/b'}}     ],     pager: '#div-pos-pager',     loadonce: true,     ignorecase: true }).navgrid('#div-pos-pager', {search:true, edit:false, add:false, del:false, refresh:false}, null, null, null, searchoptions); 

the search works great there 1 issue:

  • you click search button in toolbar
  • you select search column b, column b's data options appear
  • then click minus sign beside b search row
  • now have 1 line in existence column selected column b's search options still listed

is there away around this? see column selected a's search options?


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -