FlexGrid for WinForms
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 _
) 
'Usage
 
Dim instance As Node
Dim order As SortFlags
Dim col1 As Integer
Dim col2 As Integer
 
instance.Sort(order, col1, col2)
public void Sort( 
   SortFlags order,
   int col1,
   int col2
)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Node Class
Node Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback