user3599828 user3599828 - 1 year ago 349
AngularJS Question

Angular UI-Grid filtering by strict match

I'm creating a table with Angular UI-Grid and I wanted to filter the table contents by a strict match. By default "Car" input will match with "Carol" but I want UI-Grid's filtering to only match if the input is equal to a table entry.

Answer Source

Try this

        field: 'email',
        filter: {
          condition: uiGridConstants.filter.EXACT,
          placeholder: 'your email'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download