[]
Sorts the rows in an unbound grid.
public static void SortUnboundGrid(C1FlexGrid flex, IList<UnboundSortDescription> sortDescriptions, int startRow, int endRow)
| Type | Name | Description |
|---|---|---|
| C1FlexGrid | flex | Grid to be sorted. |
| IList<UnboundSortDescription> | sortDescriptions | List of UnboundSortDescription objects that specify the columns to sort on. |
| int | startRow | First row in the range to be sorted. |
| int | endRow | Last row in the range to be sorted. |
Sorts the selected rows in an unbound grid.
public static void SortUnboundGrid(C1FlexGrid flex, IList<UnboundSortDescription> sortDescriptions)
| Type | Name | Description |
|---|---|---|
| C1FlexGrid | flex | Grid to be sorted. |
| IList<UnboundSortDescription> | sortDescriptions | List of UnboundSortDescription objects that specify the columns to sort on. |
If only one row is selected, this method sorts the whole grid.