Back to Devexpress

PivotGridFieldOptions.GroupFilterMode Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptions-267110b1.md

latest3.8 KB
Original Source

PivotGridFieldOptions.GroupFilterMode Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

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

Declaration

csharp
[DefaultValue(null)]
public PivotGroupFilterMode? GroupFilterMode { get; set; }
vb
<DefaultValue(Nothing)>
Public Property GroupFilterMode As PivotGroupFilterMode?

Property Value

TypeDefaultDescription
Nullable<PivotGroupFilterMode>null

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

|

Available values:

NameDescription
List

| | Tree |

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

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

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

PivotGridOptionsFilterBase.GroupFilterMode

PivotGridFieldOptions Class

PivotGridFieldOptions Members

DevExpress.XtraPivotGrid Namespace