[]
Sorts this node's child nodes in the specified order.
public void Sort(SortFlags order, int col1, int col2)
Type | Name | Description |
---|---|---|
SortFlags | order | One or more values from the SortFlags enumeration that specify the type of sorting to be applied (e.g. ascending, descending, case-sensitive, etc). |
int | col1 | Start of a range of columns to sort. |
int | col2 | End of a 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 this node's child nodes in the specified order.
public void Sort(SortFlags order)
Type | Name | Description |
---|---|---|
SortFlags | order | One or more values from the SortFlags enumeration that specify the type of sorting to be applied (e.g. ascending, descending, case-sensitive, etc). |
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 this node's child nodes using a given IComparer object to determine the node order.
public void Sort(IComparer comparer)
Type | Name | Description |
---|---|---|
IComparer | comparer | An object that implements the IComparer interface used to compare Row objects. This can be used to provide custom sorting. |
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.