Back to Devexpress

ASPxGridViewBehaviorSettings.AutoExpandAllGroups Property

aspnet-devexpress-dot-web-dot-aspxgridviewbehaviorsettings-0dbba0a6.md

latest2.2 KB
Original Source

ASPxGridViewBehaviorSettings.AutoExpandAllGroups Property

Specifies whether the grid automatically expands all group rows.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool AutoExpandAllGroups { get; set; }
vb
<DefaultValue(False)>
Public Property AutoExpandAllGroups As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to expand all group rows; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoExpandAllGroups
ASPxGridView

.SettingsBehavior .AutoExpandAllGroups

| | GridViewProperties |

.SettingsBehavior .AutoExpandAllGroups

|

Remarks

If the AutoExpandAllGroups property is set to true, the grid automatically expands all group rows on the first grid load and after each grouping operation.

For more information on grouping in the grid, refer to the following topic: ASPxGridView - Group Data.

aspx
<dx:ASPxGridView ID="ASPxGridView1" runat="server" ClientInstanceName="grid">
    <%--...--%>
    <SettingsBehavior AutoExpandAllGroups="true" />
    <Settings ShowGroupPanel="true" />
</dx:ASPxGridView>

See Also

ASPxGridViewBehaviorSettings Class

ASPxGridViewBehaviorSettings Members

DevExpress.Web Namespace