GridToolbarSettingsAdaptivity.EnableCollapseToSideMenu Property
Specifies whether the toolbar should be collapsed to the side menu when the browser window width is changed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableCollapseToSideMenu |
---|---|
GridToolbar |
|
Remarks
Use the CollapseToSideMenuAtWindowInnerWidth property to specify the maximum browser window inner width when the toolbar collapses its items to the side menu.
<dx:ASPxGridView runat="server" ID="Grid" ...>
<Toolbars>
<dx:GridViewToolbar>
<SettingsAdaptivity Enabled="true" EnableCollapseToSideMenu="true"
CollapseToSideMenuAtWindowInnerWidth="600" />
<Items>
<dx:GridViewToolbarItem Command="New" />
<dx:GridViewToolbarItem Command="Edit" />
...
</Items>
</dx:GridViewToolbarItem>
...
</Toolbars>
<Columns>
...
</Columns>
</dx:ASPxGridView>
Concept
Online Demo
See Also