PivotGridField.ShowNewValues Property
Gets or sets whether field values that have appeared in the datasource after the field’s filtering was configured should be shown. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to show new field values; otherwise, false. |
Remarks
If filtering is applied to the current field, 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 field, new field values are always displayed, regardless of the ShowNewValues property value.
The ShowNewValues property is also not in effect if the current field is a part of a field group that uses a hierarchical filter (see PivotGridControl.GroupFilterMode). In this instance, use the group’s PivotGridGroup.ShowNewValues property.
Note
The ShowNewValues property internally sets the filter type. The true value corresponds to the FieldFilterType.Excluded filter type, while the false value corresponds to the FieldFilterType.Included filter type.