[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.AutoSortColumn

AutoSortColumn Method

AutoSortColumn(int)

Automatically sorts the rows of a sheet according to the specified column.

Declaration
public void AutoSortColumn(int column)
Public Sub AutoSortColumn(column As Integer)
Parameters
Type Name Description
int column

Index of column to set

AutoSortColumn(int, bool)

Automatically sorts the rows of a sheet according to the specified column in the specified order and shows the sort indicator (unless disabled).

Declaration
public void AutoSortColumn(int column, bool ascending)
Public Sub AutoSortColumn(column As Integer, ascending As Boolean)
Parameters
Type Name Description
int column

Index of column to set

bool ascending

Whether sort is ascending (or else descending)

AutoSortColumn(int, bool, bool)

Automatically sorts the rows of a sheet according to the specified column in the specified order and uses the sort indicator as specified.

Declaration
public void AutoSortColumn(int column, bool ascending, bool showIndicator)
Public Sub AutoSortColumn(column As Integer, ascending As Boolean, showIndicator As Boolean)
Parameters
Type Name Description
int column

Column index

bool ascending

Whether sort is ascending (or else descending)

bool showIndicator

Whether to display the sort indicator