PivotGridFieldOptions.AllowRunTimeSummaryChange Property
Gets or sets whether an end-user can change the data field’s summary type.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
[PivotAPIMemberCategory(APICategory.RelationalSource)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool AllowRunTimeSummaryChange { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true to allow an end-user to change the data field’s summary type; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowRunTimeSummaryChange |
---|---|
PivotGridFieldBase |
|
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowRunTimeSummaryChange property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.