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
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 |
|
Reporting | XRPivotGrid |
|
ASP.NET Web Forms Controls | ASPxPivotGrid |
|
ASPxPivotGrid |
|
|
PivotGridWebOptionsLayout |
|
|
ASP.NET MVC Extensions | MVCxPivotGrid |
|
MVCxPivotGrid |
|
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.