DxPivotTable.FieldFilterMenuTemplate Property
Specifies a common template used to display all Field Filter Menus in the Pivot Table.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v25.1.dll
NuGet Package: DevExpress.Blazor.PivotTable
Declaration
[Parameter]
public RenderFragment<PivotTableFieldFilterMenuTemplateContext> FieldFilterMenuTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment<PivotTableFieldFilterMenuTemplateContext> | The template content. |
Remarks
Specify the FieldFilterMenuTemplate to define a common template for Field Filter Menus in the Pivot Table.
The FieldFilterMenuTemplate accepts a PivotTableFieldFilterMenuTemplateContext object as the context parameter. This parameter allows you to do the following:
- Specify the filter criteria the filter menu applies to the field (the FilterCriteria property).
- Obtain a list of default filter menu items (the GetDataItemsAsync() method).
- Choose the view type for
DateTime,DateTime?, andDateOnlyvalues (ListView and HierarchicalDateView properties).
To define a template for an individual field, use the field’s FilterMenuTemplate property.
Implements
See Also