[]
        
(Showing Draft Content)

FarPoint.Web.Spread.SheetView.Sort

Sort Method

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

Sorts a range of cells in the data model.

Declaration
public bool Sort(int row, int column, int rowCount, int columnCount, bool byRows, SortInfo[] sortInfo)
Public Function Sort(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

Starting sheet row index

int column

Starting sheet column index

int rowCount

Number of rows in the sheet to sort

int columnCount

Number of columns in the sheet to sort

bool byRows

Whether the sort should move rows in the range (true) or columns in the range (false)

SortInfo[] sortInfo

Array of SortInfo objects containing the column indexes (if byRows is true) or row indexes (if byRows is false) and the order of sorting

Returns
Type Description
bool