DxGrid.GetFilterCriteria() Method
Returns the filter criteria applied to the grid data.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
public CriteriaOperator GetFilterCriteria()
#Returns
Type | Description |
---|---|
Criteria |
An object that specifies the filter expression. |
#Remarks
Filter criteria can be applied to grid data in the following ways:
- A user changes the filter row filter.
- The SetFilterCriteria or SetFieldFilterCriteria method is called.
- A user applies a filter in a filter menu.
Use the GetFilterCriteria
method to get the filter criteria currently applied to the grid data.
You can use the GetFieldFilterCriteria(String) method to get the filter criteria applied to a particular field of the bound data source.
For more information, see the following topic: Filter API in Blazor Grid.