You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs(grid): multi column sorting
* docs(treelist): multi column sorting
* chore(grid): remove multi column sort from TOC, it renders ugly
* chore(grid): add multi column sorting image
Copy file name to clipboardExpand all lines: components/grid/sorting.md
+52Lines changed: 52 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,58 @@ Click a column header to sort by its data
50
50
51
51
You can sort this grid on the different columns to see the results. The `Name` column is a string, and sorting is done according to the rules for strings, while the `ID` column sorts acording to rules for integers.
52
52
53
+
54
+
### Multi Column Sorting
55
+
56
+
To allow sorting on more than one column at a time, set the `SortMode` parameter of the grid to `Telerik.Blazor.SortMode.Multiple`.
57
+
58
+
>caption Enable multi column sorting
59
+
60
+
````CSHTML
61
+
@* Try sorting by Team, then by Name to see how the multiple sorts apply *@
Copy file name to clipboardExpand all lines: components/treelist/sorting.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ You can sort the treelist on the different columns and sorting is done according
22
22
23
23
Sorting keeps the expanded/collapsed state of items. For example, if filtering brings into view a child whose parent is collapsed, you will only see the collapsed parent.
24
24
25
+
You can let the user sort by more than one field by setting the `SortMode` parameter to `Telerik.Blazor.SortMode.Multiple`.
26
+
25
27
>caption Enable Sorting in Telerik TreeList
26
28
27
29
````CSHTML
@@ -96,6 +98,8 @@ Click a column header to sort by its data
0 commit comments