GridDataColumnFilterMenuTemplateContext.FilterCriteria Property
Specifies the filter criteria applied to a data column.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public CriteriaOperator FilterCriteria { get; set; }
Property Value
Type | Description |
---|---|
CriteriaOperator | The filter criteria. |
Remarks
The FilterMenuTemplate and DataColumnFilterMenuTemplate properties allow you to specify custom content for the column filter menu. The template’s context
parameter contains the FilterCriteria
property. Use this property to specify the filter criteria applied to the column.
Refer to the DxGridDataColumn.FilterMenuTemplate property description for more information and an example.
Limitations
When you restore a grid’s layout, the Grid component determines the filter criteria applied to each column based on the GridPersistentLayout.FilterCriteria property value. The component cannot determine a column’s criteria operator if it includes complex operands (AggregateOperand or JoinOperand). In this case, the Grid excludes complex operands from the column’s criteria operator, and the FilterCriteria
property value may differ from the actual filter applied to the column.