Skip to main content
All docs
V25.1
  • PivotTableCustomizeFilterMenuEventArgs.DataItems Property

    Returns a list of data items used to generate the filter menu items.

    Namespace: DevExpress.Blazor.PivotTable

    Assembly: DevExpress.Blazor.PivotTable.v25.1.dll

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

    public List<PivotTableFieldFilterMenuDataItem> DataItems { get; }

    Property Value

    Type Description
    List<PivotTableFieldFilterMenuDataItem>

    The list of data items.

    Remarks

    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 more information, see the following property description: FilterMenuTemplate.

    Refer to the CustomizeFilterMenu event description for more information and an example.

    See Also