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

Sorting Data

Contact Name Ascending
Company Name 
City 
Region 
Country 
Alejandra CaminoRomero y tomilloMadrid Spain
Alexander FeuerMorgenstern GesundkostLeipzig Germany
Ana TrujilloAna Trujillo Emparedados y heladosMéxico D.F. Mexico
Anabela DominguesTradição HipermercadosSao PauloSPBrazil
André FonsecaGourmet LanchonetesCampinasSPBrazil
Ann DevonEastern ConnectionLondon United Kingdom
Annette RouletLa maison d'AsieToulouse France
Antonio MorenoAntonio Moreno TaqueríaMéxico D.F. Mexico
Aria CruzFamilia ArquibaldoSao PauloSPBrazil
Art BraunschweigerSplit Rail Beer & AleLanderWYUSA
Page 1 of 10 (91 items)Prev12345678910Next

The DevExpress ASP.NET Grid View (ASPxGridView) allows you to sort data against an unlimited number of columns, without writing a single line of code. A column's current sort order is indicated by a sort glyph displayed on the right side of the column header. When a column is not sorted, the sort glyph is hidden.

In this demo, you can click a column header to initiate sorting or change column sort order (from ascending to descending, and vice versa). To sort data against multiple columns, click the required column headers while holding down the SHIFT key.

Sorting can be enabled by setting the AllowSort option to true.


See Also:
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