API REFERENCE
getCellSpan
Reads horizontal and vertical span information for a cell.
What does this API do?
Reads horizontal and vertical span information for a cell.
Exact input and result types
getCellSpan(rowIndex: number, colId: string): Promise<SyGridCellSpanInfo | null>| Arguments | Required | Type |
|---|---|---|
| rowIndex | Required | number |
| colId | Required | string |
The return type is Promise<SyGridCellSpanInfo | null>.
Usage flow
After registering and initializing the Grid element, call grid.getCellSpan(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Read related types
Feature explanations and examples
- Row height and pinned rows
Row height, top/bottom pinned rows, full-width rows, and merged cells are separate layout features. Choose based on whether you need persistent summaries or wide detail content.