Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxGrid.FilterCriteriaChanged Event

Fires when filter criteria applied to grid data change.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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.

Razor
<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