Skip to content

Nested Headers

This section covers the methods to handle with the spreadsheet nested headers.

The following methods are available to interact with the spreadsheet nested headers programmatically.

MethodDescription
setNestedHeaderRemove the current nested header, if any, and set the new nested header.
@param nestedHeader - new nested header.

Jspreadsheet setNestedHeader(nestedHeader: Nested[][]): Promise<void>

POST /api/:guid/nested
setNestedHeaderCellModify the properties of a nested header cell.
@param x - horizontal cell position.
@param y - vertical cell position.
@param properties - new cell properties.

Jspreadsheet setNestedHeaderCell(x: number, y: number, properties: Nested): Promise<void>

POST /api/:guid/nested/update
resetNestedHeaderRemove nested header.

Jspreadsheet resetNestedHeader(): Promise<void>

DELETE /api/:guid/nested