Interface for a class Predicate
string
Specifies the field name of the column to apply the filter on.
boolean
Ignores diacritic characters during filtering if set to true.
boolean
Applies case-sensitive filtering if set to true. When false, filtering is case-insensitive.
string
Specifies the operator used for filtering TreeGrid records. The available operators support a variety of data types and offer different filtering mechanisms. Details for each operator are provided below:
|
Operator |
Description |
Supported Data Types |
|
startswith |
Checks if the value starts with the specified input. |
String |
|
endswith |
Checks if the value ends with the specified input. |
String |
|
contains |
Checks if the value contains the specified input anywhere within it. |
String |
|
equal |
Checks if the value is exactly equal to the specified input. |
String | Number | Boolean | Date |
|
notequal |
Identifies values that are not equal to the specified input. |
String | Number | Boolean | Date |
|
greaterthan |
Verifies if the value is greater than the specified input. |
Number | Date |
|
greaterthanorequal |
Verifies if the value is greater than or equal to the specified input. |
Number | Date |
|
lessthan |
Checks if the value is less than the specified input. |
Number | Date |
|
lessthanorequal |
Checks if the value is less than or equal to the specified input. |
Number | Date |
string
Defines the logical relationship between multiple filter conditions (‘AND’ / ‘OR’).
string | number | Date | boolean
Specifies the value to filter the column’s data by.