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



Level of the nodes to sort.
SortFlags value that controls sort direction and options.
Start of the range of columns to sort.
End of the range of columns to sort.
Sorts all nodes at the given level.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal level As Integer, _
   ByVal order As SortFlags, _
   ByVal col1 As Integer, _
   ByVal col2 As Integer _
) 
'Usage
 
Dim instance As GridTree
Dim level As Integer
Dim order As SortFlags
Dim col1 As Integer
Dim col2 As Integer
 
instance.Sort(level, order, col1, col2)
public void Sort( 
   int level,
   SortFlags order,
   int col1,
   int col2
)
public:
void Sort( 
   int level,
   SortFlags order,
   int col1,
   int col2
) 

Parameters

level
Level of the nodes to sort.
order
SortFlags value that controls sort direction and options.
col1
Start of the range of columns to sort.
col2
End of the 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

GridTree Class
GridTree Members
Overload List

 

 


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

Send Feedback