The following example shows how to group fields in the Customization Form by putting them in user-defined folders.
In this example, the Customization Form is invoked by calling the PivotGridControl.FieldsCustomization method.
To enable displaying user folders, the PivotGridOptionsViewBase.GroupFieldsInCustomizationWindow property is set to true.
To create a folder for the Person field, the fieldSalesPerson.DisplayFolder property is set to "Employees". To create the main folder and nested folders for Product Name and Category Name fields, the fieldProductName.DisplayFolder property is set to "Products\\Name" and fieldCategoryName.DisplayFolder "Products\\Category" respectively.
Question Comments
Added By: Candy lei at: 1/6/2016 11:44:11 PM
The project running with version 15.2.4 will occurs error
Added By: Alex (DevExpress Support) at: 1/7/2016 1:48:09 AMWe have already fixed this issue in the context of the XtraPivotGrid customization form throws NullReferenceException in OLAP mode report. Install a hotfix from that thicket and let us know whether it helps.