Skip to main content

ASPxGridViewBehaviorSettings.AllowFixedGroups Property

Specifies whether a top group row is fixed when a user scrolls data rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool AllowFixedGroups { get; set; }

Property Value

Type Default Description
Boolean false

true to fix a top group row; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFixedGroups
.SettingsBehavior .AllowFixedGroups
.SettingsBehavior .AllowFixedGroups


Set the AllowFixedGroups property to true to fix a top group row when a user scrolls data rows. To indicate the fixed group row, the grid displays a special image within this row. Specify the FixedGroupRow property to customize the image.

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

Run Demo: ASPxGridView - Fixed Groups


<dx:ASPxGridView ID="Grid" ClientInstanceName="grid" runat="server" KeyFieldName="CustomerID"
        <dx:GridViewDataColumn FieldName="ContactName" />
        <dx:GridViewDataColumn FieldName="CompanyName" />
        <dx:GridViewDataColumn FieldName="City" />
        <dx:GridViewDataColumn FieldName="Region" />
        <dx:GridViewDataColumn FieldName="Country" GroupIndex="0" />
    <Settings ShowGroupPanel="True" VerticalScrollBarMode="Visible" VerticalScrollableHeight="300" />
    <SettingsBehavior AllowFixedGroups="true" />
See Also