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
Post a Comment