TX Sheet Control

OpenDocumentSpreadsheetLoadOptions.minColumns Property

Property

Minimum initial column capacity, bounded by maxColumns.

Syntax

minColumns?: number;

Example

The application supplies control and, for loading, inputBytes.

import { StreamType, type ServerSheetControl, type OpenDocumentSpreadsheetLoadOptions } from '@txtextcontrol/tx-sheet-control-server';

async function loadInvoice(editor: ServerSheetControl, inputBytes: Uint8Array) {
    const options: OpenDocumentSpreadsheetLoadOptions = { maxEditableCells: 100000 };
    return editor.load(inputBytes, StreamType.OpenDocumentSpreadsheet, { openDocumentSpreadsheet: options });
}

See Also