Predefined filter expression enumeration. Used by GridFilterFunction class.
Some functions are applicable (and are not displayed on filterting) to all the data types:
String type supports all the functions.
Integer: NoFilter, EqualTo, NotEqualTo, GreaterThan, LessThan, GreaterThanOrEqualTo, LessThanOrEqualTo, Between, NotBetween, IsNull and NotIsNull are supported. Contains, DoesNotContain, StartsWith, EndsWith, IsEmpty and NotIsEmpty are not supported.
Date: same as Integer.
Definition
Fields
Same as: value1 <= dataField <= value2.
Note that value1 and value2 should be separated by [space] when entered as
filter.
Between = 11
Same as: dataField LIKE '/%value/%'
Contains = 1
Custom function will be applied. The filter value should contain a valid filter expression, including DataField, operators and value
Custom = 17
Same as: dataField NOT LIKE '/%value/%'
DoesNotContain = 2
Same as: dataField LIKE '/%value'
EndsWith = 4
Same as: dataField = value
EqualTo = 5
Same as: dataField > value
GreaterThan = 7
Same as: dataField >= value
GreaterThanOrEqualTo = 9
Same as: dataField = ''
IsEmpty = 13
Only null values
IsNull = 15
Same as: dataField < value
LessThan = 8
Same as: dataField <= value
LessThanOrEqualTo = 10
No filter would be applied, filter controls would be cleared
NoFilter = 0
Same as: dataField <= value1 && dataField >= value2.
Note that value1 and value2 should be separated by [space] when entered as
filter.
NotBetween = 12
Same as: dataField != value
NotEqualTo = 6
Same as: dataField != ''
NotIsEmpty = 14
Only those records that does not contain null values within the corresponding column
NotIsNull = 16
Same as: dataField LIKE 'value/%'
StartsWith = 3