blazor-devexpress-dot-blazor-dot-gridcustomizefiltermenueventargs.md
Returns a list of column filter menu items.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public List<GridFilterMenuDataItem> DataItems { get; }
| Type | Description |
|---|---|
| List<GridFilterMenuDataItem> |
The list of items.
|
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 additional information, see the following property description: FilterMenuTemplate.
Refer to the action description for additional information and an example.
See Also
GridCustomizeFilterMenuEventArgs Class