TX Sheet Control

SpreadsheetOptions Interface

Interface

Initial document, control-area visibility, appearance and dimensions for a mounted editor.

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

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
areasThe areas value of SpreadsheetOptions.
autoExpandOmitted counts enable growth. Explicit counts remain bounded unless autoExpand is true.
cellsThe cells value of SpreadsheetOptions.
columnsThe columns value of SpreadsheetOptions.
columnWidthsDefault columns: Excel 8.08 characters (69.64 CSS pixels).
currencyThe currency value of SpreadsheetOptions.
dashboardModeImmutable hosting policy. editor (default) provides worksheets and dashboard authoring. viewer exposes dashboard navigation, filters and drill-down only, regardless of saved mode. With no dashboard loaded, displays an empty viewer. This UI policy is not persisted in TXWB.
dateSystemThe dateSystem value of SpreadsheetOptions.
fontBaseURLThe fontBaseURL value of SpreadsheetOptions.
fontCatalogThe fontCatalog value of SpreadsheetOptions.
fontCatalogURLURL of the deployed HTTP font catalog. Plain JavaScript defaults to /sheet-fonts/catalog.json; set the URL for application-hosted static assets. ASP.NET Core supplies its packaged static catalog automatically.
fontManagerThe fontManager value of SpreadsheetOptions.
formulaProviderThe formulaProvider value of SpreadsheetOptions.
heightThe height value of SpreadsheetOptions.
languageInterface language, independent of number/date formatting locale. Defaults to English.
licenseRequired signed SheetEditor entitlement for this major version.
localeThe locale value of SpreadsheetOptions.
mailMergeDataSourceThe mailMergeDataSource value of SpreadsheetOptions.
maxColumnsThe maxColumns value of SpreadsheetOptions.
maxRowsThe maxRows value of SpreadsheetOptions.
pageSetupThe pageSetup value of SpreadsheetOptions.
printContextThe printContext value of SpreadsheetOptions.
resolveFontURLThe resolveFontURL value of SpreadsheetOptions.
resourcesThe resources value of SpreadsheetOptions.
rowHeightDefault row height in CSS pixels. Explicit worksheet row sizes take precedence.
rowsThe rows value of SpreadsheetOptions.
sheetNameThe sheetName value of SpreadsheetOptions.
themeThe theme value of SpreadsheetOptions.
userNameCurrent comment author; runtime-only and excluded from saved document state.
viewModeThe viewMode value of SpreadsheetOptions.
workbookThe workbook value of SpreadsheetOptions.
zoomInitial worksheet zoom, a finite percentage from 25 through 400; defaults to 100.
highlightDependentsEnable brief feedback on dependent formula cells.

| ribbon | Initial ribbon presentation and per-item command policies. |

Examples

Configure SpreadsheetOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

import type { SpreadsheetOptions } from '@txtextcontrol/tx-sheet-control/angular';

const spreadsheetSettings: SpreadsheetOptions = {
    height: 'fill',
    locale: 'de-DE',
    fontCatalogURL: '/assets/sheet/fonts/catalog.json',
};

See Also