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.
The SettingsResizing.Visualization property defines how the column resizing process is visually indicated. Two modes are available.
- 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).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos |