The DevExpress MVC Grid View allows you to sort data against an unlimited number of columns. The column's current sort order is indicated by a sort glyph displayed at the column header's rightmost edge.
Click the column's header to sort data against a given data column or change the column's sort order. To sort data against multiple columns, click column headers while holding the SHIFT key.
Set the SettingsBehavior.AllowSort option to true to enable end-user sorting.
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 |