TcxGridTableController.IsFilterRowOperatorSupported(Integer,TcxFilterOperatorKind) Method
In This Article
Determines if a specific operator can be used to build a filter condition within the filter row for a given column.
#Declaration
Delphi
function IsFilterRowOperatorSupported(AItemIndex: Integer; AOperator: TcxFilterOperatorKind): Boolean; virtual;
#Parameters
Name | Type |
---|---|
AItem |
Integer |
AOperator | Tcx |
#Returns
Type |
---|
Boolean |
#Remarks
This function returns True if the filter row supports the filter operator passed as the AOperator parameter when building a filter condition associated with the column whose Index property value is passed as the AItemIndex parameter. Otherwise, False is returned.
A filter operator is considered supported if the following conditions are met:
This operator is applicable to the column’s values;
The operator is valid in the context of the View’s FilterRow.OperatorCustomization property setting.
See Also