Tag

PivotGridFieldBase.DisplayFolder Property

Gets or sets the name of the folder containing the field.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue("")]
public string DisplayFolder { get; set; }
<DefaultValue("")>
Public Property DisplayFolder As String

Property Value

Type Default Description
String

String.Empty

A String that specifies the name of the folder in which the field is located.

Remarks

Regular data binding mode

Assign a folder name to the DisplayFolder property to place a field into this folder displayed in the Customization Form.

NOTE

For a Pivot Grid, user-defined folders can be displayed only in Excel-style Customization Form.

You can also create folder hierarchies by nesting folders inside one another. In this instance, use the "" symbol as a delimiter when specifying folder names.

To enable displaying user folders, set the PivotGridOptionsViewBase.GroupFieldsInCustomizationWindow property to true.

OLAP data binding mode

Use the DisplayFolder property to obtain the name of a server-defined display folder or measure group to which the field belongs.

If a field is not retrieved from an OLAP server (its PivotGridFieldBase.IsOLAPField property is false) and obtains its data using the expression assigned to the PivotGridFieldBase.OLAPExpression property, you can use the DisplayFolder property to specify the name of the folder that contains the field. The PivotGridFieldBase.OLAPDimensionCaption property specifies the root name and allows you to group data fields created in the application.

See Also