Sorting

Queso Manchego La Pastora
$38.00
2
5.00 %
Jun-05-1996
Spegesild
$12.00
30
15.00 %
Jun-05-1996
Chartreuse verte
$18.00
2
5.00 %
Jun-05-1996
Camembert Pierrot
$34.00
2
6.00 %
Jun-05-1996
Tofu
$23.25
1
3.00 %
Jun-05-1996
Tofu
$23.25
20
25.00 %
Jun-05-1996
Chang
$19.00
24
20.00 %
Jun-05-1996
Chang
$19.00
10
15.00 %
Jun-05-1996
Spegesild
$12.00
3
2.00 %
Jun-05-1996
Mascarpone Fabioli
$32.00
1
0.00 %
Jun-05-1996
Uncle Bob's Organic Dried Pears
$30.00
1
5.00 %
Jun-05-1996
Lakkalikööri
$18.00
2
15.00 %
Jun-05-1996
Sir Rodney's Marmalade
$81.00
1
4.00 %
Jun-05-1996
Grandma's Boysenberry Spread
$25.00
1
2.00 %
Jun-05-1996
Grandma's Boysenberry Spread
$25.00
20
25.00 %
Jun-05-1996

C1GridView supports sorting.

Sorting is allowed if the AllowSorting property is set to True. End-user sorting is allowed if the SortExpression property of the column is set to non-empty value.

The following properties are used in this sample:

  • AllowSorting - to enable sorting.

The following column properties are used in this sample:

  • SortExpression - to specify a sort expression that will be used by the control to sort data.
  • SortDirection - to automatically sort the Total column in descending order.

Click a column header to sort by that column.