FilterPredicates
Configures filter predicates for individual columns in the Data Grid component. Defines the criteria, operators, and behavior for filtering data in a specific column. Supports filtering scenarios with logical conditions.
Props
The following table outlines the props for the FilterPredicates:
| Name | Type | Default | Description |
|---|---|---|---|
| caseSensitive | boolean | false | Determines whether string filtering is case-sensitive. When true, exact case matching is enforced for string fields. When false, filtering is case-insensitive. Does not affect non-string fields like numbers or dates. |
| field | string | - | Identifies the column |
| ignoreAccent | boolean | false | Enables accent-insensitive filtering for string fields. When true, diacritic characters (e.g., accents like á, é) are treated as their base characters during filtering. Enhances filter capabilities for multilingual data. |
| operator | string | - | Specifies the comparison operator used for filtering grid column data. Determines how the filter value is compared to column data. Must align with the column’s data type (e.g., string, number, date) to ensure valid filtering behavior. Common operators include:
|
| predicate | string | - | Specifies the logical operator ('and' or 'or') to combine this predicate with others. Enables filtering by linking multiple conditions for the same or different columns. Used to build advanced filter queries. |
| uid | string | - | Provides a unique identifier for the filter predicate to track its state. Used by the grid to manage and reference individual filter conditions. Ensures accurate filter application and state persistence. |
| value | - | Defines the |