ComponentOne FlexGrid for WinForms
Sort(SortFlags,Int32,Int32) Method

C1.Win.C1FlexGrid Namespace > Node Class > Sort Method : Sort(SortFlags,Int32,Int32) Method
One or more values from the SortFlags enumeration that specify the type of sorting to be applied (e.g. ascending, descending, case-sensitive, etc).
Start of a range of columns to sort.
End of a range of columns to sort.
Sorts this node's child nodes in the specified order.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal order As SortFlags, _
   ByVal col1 As Integer, _
   ByVal col2 As Integer _
) 
public void Sort( 
   SortFlags order,
   int col1,
   int col2
)

Parameters

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).
col1
Start of a range of columns to sort.
col2
End of a range of columns to sort.
Remarks

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,Int32) method instead.

See Also

Reference

Node Class
Node Members
Overload List