The DevExpress ASP.NET MVC Vertical Grid allows you to sort data against an unlimited number of rows. A row's current sort order is indicated by a sort glyph displayed on the right side of the row header. When a row is not sorted, the sort glyph is hidden.
Sorting can be enabled by setting the SettingsBehavior.AllowSort property to true. You can specify sorting settings by using a row's SortOrder property.
In this demo, you can click a row header to initiate sorting or change row sort order (from ascending to descending, and vice versa). To sort data against multiple rows, click the required row headers while holding down the SHIFT key.
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\MVCxVerticalGridDemos