blazor-devexpress-dot-blazor-dot-pivottable-dot-pivottablecustomizefiltermenueventargs-34b75065.md
Returns a list of data items used to generate the filter menu items.
Namespace : DevExpress.Blazor.PivotTable
Assembly : DevExpress.Blazor.PivotTable.v25.2.dll
NuGet Package : DevExpress.Blazor.PivotTable
public List<PivotTableFieldFilterMenuDataItem> DataItems { get; }
| Type | Description |
|---|---|
| List<PivotTableFieldFilterMenuDataItem> |
The list of data items.
|
The Pivot Table creates a list of data items to populate the drop-down field filter menu. 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 (PivotTableFieldFilterMenuDataItem.Value) and corresponding display texts (PivotTableFieldFilterMenuDataItem.Text). Data items that have null or empty value are combined into a single filter menu item labeled Blanks.
You can customize, add, or remove items. Note that an item 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 CustomizeFilterMenu event description for additional information and an example.
See Also
PivotTableCustomizeFilterMenuEventArgs Class