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

typescript
getCellSpan(rowIndex: number, colId: string): Promise<SyGridCellSpanInfo | null>
ArgumentsRequiredType
rowIndexRequirednumber
colIdRequiredstring

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