Skip to main content
A newer version of this page is available. .

PivotGridOptionsLayout.AddNewGroups Property

Gets or sets whether to retain field groups that exist in the current control layout, but do not exist in the layout being restored.

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(false)]
public bool AddNewGroups { get; set; }

Property Value

Type Default Description
Boolean **false**

true to retain field groups that exist in the current control layout, but do not exist in the layout being restored; false to destroy such field groups.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AddNewGroups
WinForms Controls PivotGridControl
.OptionsLayout .AddNewGroups
Reporting XRPivotGrid
.OptionsLayout .AddNewGroups
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsLayout .AddNewGroups
ASPxPivotGrid
.FullLayout .AddNewGroups
PivotGridWebOptionsLayout
.FullLayout .AddNewGroups
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsLayout .AddNewGroups
MVCxPivotGrid
.FullLayout .AddNewGroups

Remarks

The AddNewGroups property affects how the control layout is restored. If it is set to true, the field groups that exist in the current control layout, but do not exist in the layout being restored will be retained. Otherwise, these field groups will be destroyed.

See Also