jQuery UI Widgets › Forums › Grid › Filterrow- filteritems with logical OR
Tagged: addFilter, angular grid, applyfilters, custom filter, filter, filtering, grid, jquery grid, jqxgrid, or
This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 8 years ago.
I have a grid wich shows some todos.
They have a status “new”, “in progress” and “done”
I want to have a filter-select with the following:
– in progress
– not done –> shows “new” + “in progress”, so it’s “new” OR “in progress”
How could I do that?
You would have to implement a custom filter in order to achieve this (e.g. in the grid’s toolbar). In the demo Filtering you can see how to apply an “or” filter programmatically with addfilter and applyfilters.
Thanks, but is it possible to assign this custom-filter to one of the select-options in the filterrow?
You can assign the custom items to the filter row dropdownlist, but not custom filtering functionality to any of the items.
You must be logged in to reply to this topic.