SortCellRange Method

Summary

Sorts a specified range of cells within the sheet according to a set of defined sorting options.

Syntax

TypeScript
JavaScript
Sheet.prototype.sortCellRange = function( 
   range, 
   sortOptions 
) 
sortCellRange( 
   range: CellRange, 
   sortOptions: CellRangeSortOptions 
): void; 

Parameters

range

A CellRange object specifying the range of cells to be sorted. This range defines the boundaries within which the sorting operation will be applied.

sortOptions

A CellRangeSortOptions object detailing the criteria and order for sorting the specified cell range. This includes settings such as sort direction (ascending or descending).

Requirements

Target Platforms

See Also

Sheet Class

Sheet Members

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.