FirstCellIndex Property

Summary

Gets the index of the first non-empty cell within the row. This property allows for the identification of the starting point of data or formatting within a specific row of an Excel sheet, facilitating operations that depend on the row's content range.

Syntax

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

Property Value

A zero-based index of the row's first non-empty cell. If the row is entirely empty, this property may return a value indicating the absence of any cells, depending on the implementation.

Remarks

The FirstCellIndex property is particularly useful for understanding the data distribution within a row. It can serve as a starting point for iterating through cells in a row or for determining the presence of data within specific row segments.

Requirements

Target Platforms

See Also

Row Class

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