Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SortRows Method / SortRows(Int32,Boolean,Boolean) Method
Column index whose values are compared during sorting
Whether to sort in ascending order
Whether the sort indicator should be displayed


In This Topic
    SortRows(Int32,Boolean,Boolean) Method
    In This Topic
    Sorts all the rows on this sheet by the specified column.
    Syntax
    'Declaration
     
    
    Public Overloads Function SortRows( _
       ByVal keyColumn As Integer, _
       ByVal ascending As Boolean, _
       ByVal showIndicator As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim keyColumn As Integer
    Dim ascending As Boolean
    Dim showIndicator As Boolean
    Dim value As Boolean
     
    value = instance.SortRows(keyColumn, ascending, showIndicator)

    Parameters

    keyColumn
    Column index whose values are compared during sorting
    ascending
    Whether to sort in ascending order
    showIndicator
    Whether the sort indicator should be displayed
    See Also