[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.SortRange

SortRange Method

SortRange(int, int, int, int, bool, SortInfo[])

Sorts a range of cells on this sheet in the data model.

Declaration
public bool SortRange(int row, int column, int rowCount, int columnCount, bool byRows, SortInfo[] sortInfo)
Public Function SortRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, byRows As Boolean, sortInfo As SortInfo()) As Boolean
Parameters
Type Name Description
int row

Index of the starting row of the block of cells to sort

int column

Index of the starting column of the block of cells to sort

int rowCount

Number of rows in the block of cells

int columnCount

Number of columns in the block of cells

bool byRows

Whether to sort by rows (or by columns)

SortInfo[] sortInfo

SortInfo object with sort criteria and how to perform sort

Returns
Type Description
bool