TX Sheet Control

SheetView.split Method

Method

Creates worksheet split panes at the specified row and column boundaries.

Owner: SheetView. Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Syntax

owner.split(options)

Parameters

ParameterTypeOptionalDescription
options{ row?: number; column?: number; }NoSupported settings for this operation; omitted settings retain documented defaults.

Return Value

void.

Examples

Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.

function applySheetViewSplit(book) {
    const sheetView = book.sheets.at(0).viewport;
    sheetView.split({ row: 10, column: 4 });
}

Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

See Also