I'm using an Angular UI Grid in my app. I set enableFiltering
to true
in the options which made some filter boxes show up above my columns. This is great, but the filters don't work exactly as desired.
If a cell contains the text "I like pizza" and I type "I like", that cell's row is shown as a match. I would also think that if I type "pizza", the "I like pizza" cell/row should show up, but that's not the case.
How can I get the filters to allow searching anywhere in the text, not just from the beginning?
STARTS_WITH
, but you can change it: github.com/angular-ui/ng-grid/issues/2839 – Thorbertfilter: {condition: uiGridConstants.filter.CONTAINS}
– Thorbert