Back to Devexpress

PivotGridGroup.ShowNewValues Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridgroup-c97749c2.md

latest3.0 KB
Original Source

PivotGridGroup.ShowNewValues Property

Gets or sets whether field values that have appeared in the datasource after the field’s filtering was configured should be shown.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
[DefaultValue(true)]
public bool ShowNewValues { get; set; }
vb
<DefaultValue(True)>
Public Property ShowNewValues As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to show new field values; otherwise, false.

|

Remarks

If filtering is applied to the current group, the ShowNewValues property specifies whether new field values (values that have been added to the datasource after the filter condition was set) are shown or hidden by default.

If filtering is not applied to the group, new field values are always displayed, regardless of the ShowNewValues property value.

The ShowNewValues property is also not in effect if hierarchical filtering is disabled for the current group (see PivotGridFieldOptions.GroupFilterMode). In this instance, use the PivotGridFieldBase.ShowNewValues properties of individual fields.

Note

The ShowNewValues property internally sets the filter type. The true value corresponds to the PivotFilterType.Excluded filter type, while the false value corresponds to the PivotFilterType.Included filter type.

In Pivot Grid, end-users can enable or disable the ShowNewValues option via the toolbar button.

See Also

FilterType

ShowNewValues

GroupFilterMode

PivotGridGroup Class

PivotGridGroup Members

DevExpress.XtraPivotGrid Namespace