Skip to main content

PivotGridFieldOptions.GroupFilterMode Property

Gets or sets the filtering mode used for the field’s owner group.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[TypeConverter(typeof(NullableConverter))]
[XtraSerializableProperty]
public PivotGroupFilterMode? GroupFilterMode { get; set; }

Property Value

Type Description
Nullable<PivotGroupFilterMode>

A PivotGroupFilterMode enumeration member that specifies the filtering mode used for the field’s owner group.

Available values:

Name Description
List

pivotgrid_GroupFilterMode_FieldFilterDropdown

Tree

pivotgrid_GroupFilterMode_GroupFilterDropdown

Property Paths

You can access this nested property as listed below:

Object Type Path to GroupFilterMode
PivotGridFieldBase
.Options .GroupFilterMode

Remarks

The filtering mode used for a field group is defined by its first field. The GroupFilterMode property values of other fields are ignored.

If the GroupFilterMode property is set to PivotGroupFilterMode.Tree, the group filter is used to filter data against the group’s fields.

pivotgrid_GroupFilterMode_GroupFilterDropdown

If the GroupFilterMode property is set to PivotGroupFilterMode.List, data is filtered against each of the group’s fields separately.

pivotgrid_GroupFilterMode_FieldFilterDropdown

Otherwise, if the GroupFilterMode property is set to null, the filtering mode is defined by the PivotGridOptionsFilterBase.GroupFilterMode property.

Regardless of the currently selected group filter mode, you can customize both group and field filters in code. The customizations of the currently unused filter will take effect after switching the group filter mode.

To learn more, see Group Filtering.

See Also