Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SortColumns Method / SortColumns(Int32,Boolean) Method
Index of the row to use as a key to sorting
Whether to sort in ascending order


In This Topic
    SortColumns(Int32,Boolean) Method
    In This Topic
    Sorts all the columns on the sheet by the specified row.
    Syntax
    'Declaration
     
    
    Public Overloads Function SortColumns( _
       ByVal keyRow As Integer, _
       ByVal ascending As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim keyRow As Integer
    Dim ascending As Boolean
    Dim value As Boolean
     
    value = instance.SortColumns(keyRow, ascending)
    public bool SortColumns( 
       int keyRow,
       bool ascending
    )

    Parameters

    keyRow
    Index of the row to use as a key to sorting
    ascending
    Whether to sort in ascending order
    See Also