I enabled filter in easyui datagrid with multiple row selection and checkbox.
When I do a search after selection some rows in the grid, that clears all my previous selection.
Same way, when I filter some rows and select few rows, clearing the filter text will clear the selection.
Jsfiddle is here:
dg.datagrid('enableFilter', [{
field:'listprice',
type:'numberbox',
options:{precision:1},
op:['equal','notequal','less','greater']
}])
You should add idField : 'itemid' to your grid properties.