CellRange Interface
Normalized A1 endpoints and inclusive zero-based row/column bounds for a rectangular selection.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| end | The end value of CellRange. |
| firstColumn | The firstColumn value of CellRange. |
| firstRow | The firstRow value of CellRange. |
| lastColumn | The lastColumn value of CellRange. |
| lastRow | The lastRow value of CellRange. |
| start | The start value of CellRange. |
Examples
Pass the CellRange value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { CellRange } from '@txtextcontrol/tx-sheet-control';
function inspectCellRangeStart(cellRange: CellRange) {
const value = cellRange['start'];
console.log('CellRange.start', value);
}