The DevExpress ASP.NET MVC GridView extension provides complete control over column availability and individual column size. End-users can easily modify column width by resizing the appropriate column header. To resize the column, hover the right border of the column you wish to resize (so that it displays a double-sided arrow), and drag the column border.
You can access all settings related to column resizing using the SettingsResizing property. The SettingsResizing.ColumnResizeMode property specifies how the GridView behaves when an end-user resizes a column. Use the Column resizing mode combo box to see how different property values affect resizing behavior.
- In the Live mode, grid columns are redrawn dynamically during resizing.
- In the Postponed mode, grid columns are redrawn only after the operation has been completed.
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).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos