Skip to main content
All docs
V26.1
  • Tab

    GridToolbar.SettingsAdaptivity Property

    Provides access to the grid toolbar’s adaptivity settings.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v26.1.dll

    Declaration

    public GridToolbarSettingsAdaptivity SettingsAdaptivity { get; }

    Property Value

    Type Description
    GridToolbarSettingsAdaptivity

    Contains the grid toolbar’s adaptivity settings.

    Remarks

    The grid automatically collapses its toolbar items when the browser window is resized. Use the SettingsAdaptivity property to customize the layout behavior settings.

    <dx:ASPxGridView runat="server" ID="Grid" ...>
        <Toolbars>
            <dx:GridViewToolbar>
                <SettingsAdaptivity Enabled="true" EnableCollapseRootItemsToIcons="true" />
                <Items>
                    <dx:GridViewToolbarItem Command="New" />
                    <dx:GridViewToolbarItem Command="Edit" />
                    ...
                </Items>
            </dx:GridViewToolbarItem>
            ...
        </Toolbars>
        <Columns>
        ...
        </Columns>    
    </dx:ASPxGridView>
    
    See Also