Data Grid — Sorting & search
Data DisplayExamples
Sorting from code and global search
Click a sortable header to cycle ascending, descending and none. [sort] sets the sort from code (the grid resets to it whenever the bound value changes) and sortChange reports what the user picked. The toolbar search matches every filterable column.
| Berlin | Germany | 3,878,100 |
| Paris | France | 2,102,650 |
| Bucharest | Romania | 1,716,961 |
| Munich | Germany | 1,510,378 |
| Lyon | France | 522,250 |
| Cluj-Napoca | Romania | 286,598 |
Sort: population (desc)