Angular Grid Manual Filtering
The manual filtering gives the developer full control over the filtering of the data. Compared to the filtering with the built-in directive, the manual approach provides greater transparency of the filtering process because it requires you to handle the Grid events manually. The manual filtering is especially useful when you require additional customization of the filtering logic.
To implement manual filtering:
- Set the filterable option.
- Bind the filter option to a
- To filter local data or send a remote service request, handle either of the following events:
When you enable multiple data operations, handle the
dataStateChangeevent instead of the
filterChangeevent. Further details on how to manually process the data with multiple data operations enabled are available in the section on handling multiple data operations. The following example demonstrates this approach.
dataStateChange event to send a request containing information about the current Grid state to the server. See the section on handling multiple data operations using remote data for an example.