Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / AutoSortColumn Method / AutoSortColumn(Int32,Boolean) Method
Index of column to set
Whether sort is ascending (or else descending)


In This Topic
    AutoSortColumn(Int32,Boolean) Method
    In This Topic
    Automatically sorts the rows of a sheet according to the specified column in the specified order and shows the sort indicator (unless disabled).
    Syntax
    'Declaration
     
    
    Public Overloads Sub AutoSortColumn( _
       ByVal column As Integer, _
       ByVal ascending As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim column As Integer
    Dim ascending As Boolean
     
    instance.AutoSortColumn(column, ascending)
    public void AutoSortColumn( 
       int column,
       bool ascending
    )

    Parameters

    column
    Index of column to set
    ascending
    Whether sort is ascending (or else descending)
    See Also