We are using ui-grid in one of our project and currently we can apply two filters on each column which is supported by UI-grid. We have filters arrays something like mentioned below:
{ field: 'age', filters: [
{
condition: uiGridConstants.filter.GREATER_THAN,
placeholder: 'greater than'
},
{
condition: uiGridConstants.filter.LESS_THAN,
placeholder: 'less than'
}
]
This will return rows which are matches both the criteria. This is perfect.
Now we would like to add "OR" condition in between these filters so that both filters can be applied or one of them can be applied. I don't see any support in UI-grid for this feature. Any idea how to achieve this functionality?
Any help would be much appreciated.