getFilters()
returns an object with the applied filters
getFilters({ permanent?: boolean }): { [key: string]: { rule: object | callback, config: object } };
Parameters:
permanent: boolean
- optional, false by default. Allows getting the list of permanent filters
Returns:
filters: object
- an object with the applied filters, where the key is the id of a filter and the value is an object with the rule and config properties
Example
const filters = grid.data.getFilters();