public abstract class ExcelRowColumnCellCollectionBase extends Object
Modifier and Type | Method and Description |
---|---|
abstract int |
size()
Gets the number of currently allocated elements (dynamically changes when worksheet is modified).
|
public abstract int size()
The cells are internally allocated in rows and not in columns. In other words, when you load CSV/XLSX or
access some cells via worksheet.getCells() method new rows and cells can be allocated but the column count
will stay the same. To find last used column in the worksheet, use
ExcelWorksheet.getUsedCellRange
method.
© GemBox Ltd. — All rights reserved.