LastRowIndex Property

Summary

Gets the index of the last non-empty row within the sheet.

Syntax

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

Property Value

A zero-based index of the last row in the sheet that contains either data or formatting.

Remarks

The LastRowIndex property offers a straightforward means to gauge the extent of populated content within a sheet, supporting efficient data processing, analysis, and formatting adjustments from the beginning to the end of the document.

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.