SpreadsheetOptions Interface
Initial document, control-area visibility, appearance and dimensions for a mounted editor.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| areas | The areas value of SpreadsheetOptions. |
| autoExpand | Omitted counts enable growth. Explicit counts remain bounded unless autoExpand is true. |
| cells | The cells value of SpreadsheetOptions. |
| columns | The columns value of SpreadsheetOptions. |
| columnWidths | Default columns: Excel 8.08 characters (69.64 CSS pixels). |
| currency | The currency value of SpreadsheetOptions. |
| dashboardMode | Immutable 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. |
| dateSystem | The dateSystem value of SpreadsheetOptions. |
| fontBaseURL | The fontBaseURL value of SpreadsheetOptions. |
| fontCatalog | The fontCatalog value of SpreadsheetOptions. |
| fontCatalogURL | URL 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. |
| fontManager | The fontManager value of SpreadsheetOptions. |
| formulaProvider | The formulaProvider value of SpreadsheetOptions. |
| height | The height value of SpreadsheetOptions. |
| language | Interface language, independent of number/date formatting locale. Defaults to English. |
| license | Required signed SheetEditor entitlement for this major version. |
| locale | The locale value of SpreadsheetOptions. |
| mailMergeDataSource | The mailMergeDataSource value of SpreadsheetOptions. |
| maxColumns | The maxColumns value of SpreadsheetOptions. |
| maxRows | The maxRows value of SpreadsheetOptions. |
| pageSetup | The pageSetup value of SpreadsheetOptions. |
| printContext | The printContext value of SpreadsheetOptions. |
| resolveFontURL | The resolveFontURL value of SpreadsheetOptions. |
| resources | The resources value of SpreadsheetOptions. |
| rowHeight | Default row height in CSS pixels. Explicit worksheet row sizes take precedence. |
| rows | The rows value of SpreadsheetOptions. |
| sheetName | The sheetName value of SpreadsheetOptions. |
| theme | The theme value of SpreadsheetOptions. |
| userName | Current comment author; runtime-only and excluded from saved document state. |
| viewMode | The viewMode value of SpreadsheetOptions. |
| workbook | The workbook value of SpreadsheetOptions. |
| zoom | Initial worksheet zoom, a finite percentage from 25 through 400; defaults to 100. |
| highlightDependents | Enable brief feedback on dependent formula cells. |
| ribbon | Initial browser ribbon presentation and item 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.
const spreadsheetSettings = { height: 'fill', locale: 'de-DE', fontCatalogURL: '/assets/sheet/fonts/catalog.json' };