|
|
|
|
|
|
---|---|---|---|---|---|
Patricio Simpson | Cactus Comidas para llevar | Buenos Aires | Argentina | ||
Yvonne Moncada | Océano Atlántico Ltda. | Buenos Aires | Argentina | ||
Sergio Gutiérrez | Rancho grande | Buenos Aires | Argentina | ||
Roland Mendel | Ernst Handel | Graz | Austria | ||
Georg Pipps | Piccolo und mehr | Salzburg | Austria | ||
Catherine Dewey | Maison Dewey | Bruxelles | Belgium | ||
Pascale Cartrain | Suprêmes délices | Charleroi | Belgium | ||
Pedro Afonso | Comércio Mineiro | Sao Paulo | SP | Brazil | |
Aria Cruz | Familia Arquibaldo | Sao Paulo | SP | Brazil | |
André Fonseca | Gourmet Lanchonetes | Campinas | SP | Brazil | |
of 10
The DevExpress Blazor Grid allows users to sort data as requirements dictate. Sort operations can be applied via the Blazor Grid's UI elements as follows:
- To sort against a single column, users can click the appropriate column header. Repeating this action will change sort order. The sort glyph indicates the column's current sort order.
- To sort the Blazor Grid against multiple columns, users must click column headers with the Shift key pressed.
- To clear sort operations for a column, users must click the appropriate column header with the the Ctrl key pressed.
To disable sort operations, set the DxGrid.AllowSort or DxGridDataColumn.AllowSort property to false
(applied to the entire Grid or to an individual column).
Use the following API members to sort Blazor Grid data in code:
- DxGrid.ClearSort — Clears sort operations.
- DxGrid.SortBy — Sorts Grid data against a specified column.
- DxGridDataColumn.SortIndex — Specifies a column's position among sorted columns. If the property is set to
-1
, grid data is not sorted by this column. - DxGridDataColumn.SortOrder — Specifies a column's sort order (ascending or descending).
- DxGridDataColumn.SortMode — Specifies how a column's data is sorted (by value, by display text, or custom logic is used)