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

MVCxPivotGridWebOptionsData.AutoExpandGroups Property

Gets or sets whether field values are expanded or collapsed by default.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.1.dll

Declaration

public DefaultBoolean AutoExpandGroups { get; set; }

Property Value

Type Description
DefaultBoolean

DefaultBoolean.True to expand field values by default; DefaultBoolean.False to collapse them.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoExpandGroups
PivotGridSettings
.OptionsData.AutoExpandGroups

Remarks

If the AutoExpandGroups property is set to DefaultBoolean.Default, field values are collapsed in the OLAP mode and expanded in the regular data binding mode.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoExpandGroups 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.

See Also