ComponentOne FlexGrid for WinForms
Sort(SortFlags) Method

C1.Win.C1FlexGrid Namespace > Node Class > Sort Method : Sort(SortFlags) 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).
Sorts this node's child nodes in the specified order.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal order As SortFlags _
) 
public void Sort( 
   SortFlags order
)

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).
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