LastRow Property

Summary

Gets the index of the last row in a specified range of cells within a sheet.

Syntax

TypeScript
JavaScript
Object.defineProperty(CellRange.prototype, 'lastRow', 
	get: function() 
) 
lastRow: number; // read-only 

Property Value

The index of the last row in the cell range.

Remarks

The LastRow property retrieves the index of the last row within a defined cell range, adhering to zero-based indexing, where the spreadsheet's first row is represented as 0.

Requirements

Target Platforms

See Also

CellRange Class

CellRange 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.