constructor(owner: FlexSheet): SortManager
Initializes a new instance of the SortManager class.
Gets or sets the collection of the sort descriptions represented by the ColumnSortDescription objects.
The index of the column in the FlexSheet control.
The sort order for the sort level.
cancelSort(): void
Cancel the current sort descriptions to the FlexSheet control.
checkSortItemExists(columnIndex): number
Check whether the sort item of specific column exists or not
The index of the column in the FlexSheet control.
clearSort(): void
Clear the sort descriptions.
commitSort(undoable?: boolean): void
Commits the current sort descriptions to the FlexSheet control.
The boolean value indicating whether the commit sort action is undoable.
copySortLevel(): void
Adds a copy of the current sorting level to the sort descriptions.
deleteSortLevel(columnIndex?: number): void
Removes the current sorting level from the sort descriptions.
The index of the column in the FlexSheet control.
editSortLevel(columnIndex?: number, ascending?: boolean): void
Updates the current sort level.
The column index for the sort level.
The sort order for the sort level.
moveSortLevel(offset: number): void
Moves the current sorting level to a new position.
The offset to move the current level by.