[]
Sorts all nodes at the given level.
public void Sort(int level, SortFlags order, int col1, int col2)
Type | Name | Description |
---|---|---|
int | level | Level of the nodes to sort. |
SortFlags | order | SortFlags value that controls sort direction and options. |
int | col1 | Start of the range of columns to sort. |
int | col2 | End of the range of columns to sort. |
The grid recognizes two types of row: regular rows which contain data, and node rows which are used to group data. This method only sorts the row nodes; it does not reorder the data rows within each node.
To sort the data rows, use the grid's Sort(SortFlags, int) method instead.
Sorts all nodes at the given level using the specified comparer.
public void Sort(int level, IComparer comparer)
Type | Name | Description |
---|---|---|
int | level | Level of the nodes to sort. |
IComparer | comparer |