Skip to main content
All docs
V25.1
  • PivotTableCustomizeFilterMenuEventArgs.AddDataItem(Object, String) Method

    Adds a data item to the filter menu’s data item collection.

    Namespace: DevExpress.Blazor.PivotTable

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

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

    public PivotTableFieldFilterMenuDataItem AddDataItem(
        object value,
        string text
    )

    Parameters

    Name Type Description
    value Object

    The item value.

    text String

    The item text.

    Returns

    Type Description
    PivotTableFieldFilterMenuDataItem

    The filter menu data item.

    Remarks

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

    See Also