corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptions-1733bbc6.md
Gets or sets whether an end-user can change the data field’s summary type.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(false)]
public bool AllowRunTimeSummaryChange { get; set; }
<DefaultValue(False)>
Public Property AllowRunTimeSummaryChange As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to allow an end-user to change the data field’s summary type; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowRunTimeSummaryChange |
|---|---|
| PivotGridFieldBase |
.Options .AllowRunTimeSummaryChange
|
If the AllowRunTimeSummaryChange option is enabled, an end-user can change the data field’s summary type by clicking its header (see the image below):
If the PivotGridFieldOptions.ShowSummaryTypeName option is enabled, the summary type is displayed within the field’s header.
Changing the field’s summary type raises the PivotGridField.SummaryTypeChanged event.
Note
This option is not supported in OLAP mode.
See Also