Filtering Dojox.grid.DataGrid

I have a DataGrid that contains data received from the server. I need to filter data based on some conditions. I have three checkboxes, when selecting checkboxes I need to filter the data. For example, I have three checkboxes - pending, released, completed. When I uncheck the Pending checkbox, the DataGrid should only contain Issues and Completed. I can filter one item using

dataGrid.filter({status: 'P*'});

      

But I can't give OR conditions, I tried the Piped character but still it didn't work. Can someone please suggest me a way to implement this. Thanks in advance.

+2


source to share


1 answer


Have a look at using dojo.data.AndOrReadStore. It supports more complex queries.



+1


source







All Articles