Skip to main content
All docs
V24.2

TreeListCustomizeFilterMenuEventArgs.DataItems Property

Returns a list of column filter menu items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public List<TreeListFilterMenuDataItem> DataItems { get; }

Property Value

Type Description
List<TreeListFilterMenuDataItem>

The list of items.

Remarks

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

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

You can customize, add, and 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, refer to the following topic: Column Filter Menu in Blazor TreeList.

See Also