Skip to main content

DxGrid.FilterCriteriaChanged Event

Fires when filter criteria applied to grid data change.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public EventCallback<GridFilterCriteriaChangedEventArgs> FilterCriteriaChanged { get; set; }

Parameters

Type Description
GridFilterCriteriaChangedEventArgs

An object that contains data for this event.

Remarks

Filter criteria applied to grid data change when a user changes the filter row filter or applies the filter menu filter, or you call one of the following methods:

Handle the FilterCriteriaChanged event to react to filter criteria changes. Use the event argument’s FilterCriteria property to get the new filter criteria.

<DxGrid Data="GridData"
        @ref="Grid"
        ShowFilterRow="true"
        FilterCriteriaChanged="FilterCriteriaChanged">

@code {
    IGrid Grid { get; set; }
    void FilterCriteriaChanged(GridFilterCriteriaChangedEventArgs args) {
        CriteriaOperator newCriteria = args.FilterCriteria;
        // ...
    }
}

For more information, see the following topic: Filter API in Blazor Grid.

See Also