PredicateModel
12 Sep 20251 minute to read
Interface for a class Predicate
Properties
field string
Specifies the field name of the column to apply the filter on.
ignoreAccent boolean
Ignores diacritic characters during filtering if set to true.
matchCase boolean
Applies case-sensitive filtering if set to true. When false, filtering is case-insensitive.
operator 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 |
predicate string
Defines the logical relationship between multiple filter conditions (‘AND’ / ‘OR’).
value string|number|Date|boolean
Specifies the value to filter the column’s data by.