GridToolbar.SettingsAdaptivity Property
Provides access to the grid toolbar’s adaptivity settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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