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

GridCustomizeFilterMenuEventArgs.DataItems Property

Returns a list of column filter menu items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public List<GridFilterMenuDataItem> DataItems { get; }

#Property Value

Type Description
List<GridFilterMenuDataItem>

The list of items.

#Remarks

The Grid creates a list of items to populate the column filter menu drop-down window. The CustomizeFilterMenu event fires before the widow is shown and allows you to customize items.

The DataItems property returns a list of default items that contain unique column values (GridFilterMenuDataItem.Value) and corresponding display texts (GridFilterMenuDataItem.DisplayText).

You can customize, add, or remove items. Note that an item’s value cannot contain filter criteria. To implement complex filter criteria, create a filter menu template. For more information, see the following property description: FilterMenuTemplate.

Refer to the action description for more information and an example.

See Also