Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Adaptive Layout

The DevExpress ASP.NET Grid View (ASPxGridView) allows you to build adaptive or responsive page layouts with ease. The control can automatically resize or hide grid data when the browser window is resized. The layout behavior can be customized by using the SettingsAdaptivity property.

In this demo, the grid provides an adaptive layout, which is enabled by setting the AdaptivityMode property to HideDataCellsWindowLimit.

In adaptive mode, the Grid View automatically changes its layout when the browser window inner width is less than or equal to the value specified by the HideDataCellsAtWindowInnerWidth property. In this case, the control content is reordered into one column containing adaptive detail rows. The column headers are displayed above the data.

In this demo, the Grid View changes its layout when the browser window width is less than 780 pixels.

You can try Grid View with a responsive layout in the Responsive Layout demo.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxGridViewDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxGridViewDemos