# SpreadsheetOptions Interface

> SpreadsheetOptions interface in the browser TypeScript API: Initial document, control-area visibility, appearance and dimensions for a mounted editor.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SpreadsheetOptions Interface
- **1525 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/llms-full.txt

---

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

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

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

### Members

#### Properties

| Property | Description |
|---|---|
| [areas](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/areas-property/llms-full.txt) | The areas value of SpreadsheetOptions. |
| [autoExpand](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/autoexpand-property/llms-full.txt) | Omitted counts enable growth. Explicit counts remain bounded unless autoExpand is true. |
| [cells](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/cells-property/llms-full.txt) | The cells value of SpreadsheetOptions. |
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/columns-property/llms-full.txt) | The columns value of SpreadsheetOptions. |
| [columnWidths](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/columnwidths-property/llms-full.txt) | Default columns: Excel 8.08 characters (69.64 CSS pixels). |
| [currency](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/currency-property/llms-full.txt) | The currency value of SpreadsheetOptions. |
| [dashboardMode](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/dashboardmode-property/llms-full.txt) | 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](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/datesystem-property/llms-full.txt) | The dateSystem value of SpreadsheetOptions. |
| [fontBaseURL](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontbaseurl-property/llms-full.txt) | The fontBaseURL value of SpreadsheetOptions. |
| [fontCatalog](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontcatalog-property/llms-full.txt) | The fontCatalog value of SpreadsheetOptions. |
| [fontCatalogURL](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontcatalogurl-property/llms-full.txt) | 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](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontmanager-property/llms-full.txt) | The fontManager value of SpreadsheetOptions. |
| [formulaProvider](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/formulaprovider-property/llms-full.txt) | The formulaProvider value of SpreadsheetOptions. |
| [height](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/height-property/llms-full.txt) | The height value of SpreadsheetOptions. |
| [language](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/language-property/llms-full.txt) | Interface language, independent of number/date formatting locale. Defaults to English. |
| [license](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/license-property/llms-full.txt) | Required signed SheetEditor entitlement for this major version. |
| [locale](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/locale-property/llms-full.txt) | The locale value of SpreadsheetOptions. |
| [mailMergeDataSource](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/mailmergedatasource-property/llms-full.txt) | The mailMergeDataSource value of SpreadsheetOptions. |
| [maxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/maxcolumns-property/llms-full.txt) | The maxColumns value of SpreadsheetOptions. |
| [maxRows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/maxrows-property/llms-full.txt) | The maxRows value of SpreadsheetOptions. |
| [pageSetup](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/pagesetup-property/llms-full.txt) | The pageSetup value of SpreadsheetOptions. |
| [printContext](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/printcontext-property/llms-full.txt) | The printContext value of SpreadsheetOptions. |
| [resolveFontURL](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/resolvefonturl-property/llms-full.txt) | The resolveFontURL value of SpreadsheetOptions. |
| [resources](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/resources-property/llms-full.txt) | The resources value of SpreadsheetOptions. |
| [rowHeight](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/rowheight-property/llms-full.txt) | Default row height in CSS pixels. Explicit worksheet row sizes take precedence. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/rows-property/llms-full.txt) | The rows value of SpreadsheetOptions. |
| [sheetName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/sheetname-property/llms-full.txt) | The sheetName value of SpreadsheetOptions. |
| [theme](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/theme-property/llms-full.txt) | The theme value of SpreadsheetOptions. |
| [userName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/username-property/llms-full.txt) | Current comment author; runtime-only and excluded from saved document state. |
| [viewMode](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/viewmode-property/llms-full.txt) | The viewMode value of SpreadsheetOptions. |
| [workbook](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/workbook-property/llms-full.txt) | The workbook value of SpreadsheetOptions. |
| [zoom](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/zoom-property/llms-full.txt) | Initial worksheet zoom, a finite percentage from 25 through 400; defaults to 100. |
| [highlightDependents](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/highlightdependents-property/llms-full.txt) | Enable brief feedback on dependent formula cells. |

\| [ribbon](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/ribbon-property/llms-full.txt) \| 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.

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

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

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [SpreadsheetOptions.areas Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/areas-property/llms-full.txt): SpreadsheetOptions.areas property in the browser TypeScript API, with its type Partial<ControlAreas> | undefined and a TypeScript example.
- [SpreadsheetOptions.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/autoexpand-property/llms-full.txt): SpreadsheetOptions.autoExpand property in the TX Sheet Control TypeScript API for the browser: Omitted counts enable growth.
- [SpreadsheetOptions.cells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/cells-property/llms-full.txt): SpreadsheetOptions.cells property in the browser TypeScript API, with its type Record<string, CellValue> | undefined and a TypeScript example.
- [SpreadsheetOptions.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/columns-property/llms-full.txt): SpreadsheetOptions.columns property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SpreadsheetOptions.columnWidths Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/columnwidths-property/llms-full.txt): SpreadsheetOptions.columnWidths property in the TX Sheet Control TypeScript API for the browser: Default columns: Excel 8.08 characters (69.64 CSS pixels).
- [SpreadsheetOptions.currency Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/currency-property/llms-full.txt): SpreadsheetOptions.currency property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SpreadsheetOptions.dashboardMode Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/dashboardmode-property/llms-full.txt): SpreadsheetOptions.dashboardMode property in the TX Sheet Control TypeScript API for the browser: Immutable hosting policy.
- [SpreadsheetOptions.dateSystem Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/datesystem-property/llms-full.txt): SpreadsheetOptions.dateSystem property in the browser TypeScript API, with its type "1900" | "1904" | undefined and a TypeScript example.
- [SpreadsheetOptions.fontBaseURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontbaseurl-property/llms-full.txt): SpreadsheetOptions.fontBaseURL property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SpreadsheetOptions.fontCatalog Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontcatalog-property/llms-full.txt): SpreadsheetOptions.fontCatalog property in the browser TypeScript API, with its type FontFamilyDefinition[] | undefined and a TypeScript example.
- [SpreadsheetOptions.fontCatalogURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontcatalogurl-property/llms-full.txt): SpreadsheetOptions.fontCatalogURL property in the TX Sheet Control TypeScript API for the browser: URL of the deployed HTTP font catalog.
- [SpreadsheetOptions.fontManager Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/fontmanager-property/llms-full.txt): SpreadsheetOptions.fontManager property in the TX Sheet Control TypeScript API for the browser, with its type FontManager | undefined and a TypeScript example.
- [SpreadsheetOptions.formulaProvider Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/formulaprovider-property/llms-full.txt): SpreadsheetOptions.formulaProvider property in the browser TypeScript API, with its type FormulaProvider | null | undefined and a TypeScript example.
- [SpreadsheetOptions.height Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/height-property/llms-full.txt): SpreadsheetOptions.height property in the TX Sheet Control TypeScript API for the browser, with its type number | "fill" | undefined and a TypeScript example.
- [SpreadsheetOptions.highlightDependents Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/highlightdependents-property/llms-full.txt): SpreadsheetOptions.highlightDependents property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [SpreadsheetOptions.language Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/language-property/llms-full.txt): SpreadsheetOptions.language property in the TX Sheet Control TypeScript API for the browser: Interface language, independent of number/date formatting locale.
- [SpreadsheetOptions.license Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/license-property/llms-full.txt): SpreadsheetOptions.license property in the TX Sheet Control TypeScript API for the browser: Signed SheetEditor entitlement for this major version.
- [SpreadsheetOptions.locale Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/locale-property/llms-full.txt): SpreadsheetOptions.locale property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SpreadsheetOptions.mailMergeDataSource Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/mailmergedatasource-property/llms-full.txt): SpreadsheetOptions.mailMergeDataSource property in the TX Sheet Control TypeScript API for the browser, with a TypeScript example.
- [SpreadsheetOptions.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/maxcolumns-property/llms-full.txt): SpreadsheetOptions.maxColumns property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SpreadsheetOptions.maxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/maxrows-property/llms-full.txt): SpreadsheetOptions.maxRows property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SpreadsheetOptions.pageSetup Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/pagesetup-property/llms-full.txt): SpreadsheetOptions.pageSetup property in the browser TypeScript API, with its type Record<string, unknown> | undefined and a TypeScript example.
- [SpreadsheetOptions.printContext Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/printcontext-property/llms-full.txt): SpreadsheetOptions.printContext property in the browser TypeScript API, with its type PrintContext | undefined and a TypeScript example.
- [SpreadsheetOptions.resolveFontURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/resolvefonturl-property/llms-full.txt): SpreadsheetOptions.resolveFontURL property in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.
- [SpreadsheetOptions.resources Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/resources-property/llms-full.txt): SpreadsheetOptions.resources property in the TX Sheet Control TypeScript API for the browser, with a TypeScript example.
- [SpreadsheetOptions.ribbon Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/ribbon-property/llms-full.txt): SpreadsheetOptions.ribbon property in the TX Sheet Control TypeScript API for the browser, with its type RibbonOptions and a TypeScript example.
- [SpreadsheetOptions.rowHeight Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/rowheight-property/llms-full.txt): SpreadsheetOptions.rowHeight property in the TX Sheet Control TypeScript API for the browser: Default row height in CSS pixels.
- [SpreadsheetOptions.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/rows-property/llms-full.txt): SpreadsheetOptions.rows property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SpreadsheetOptions.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/sheetname-property/llms-full.txt): SpreadsheetOptions.sheetName property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SpreadsheetOptions.theme Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/theme-property/llms-full.txt): SpreadsheetOptions.theme property in the TX Sheet Control TypeScript API for the browser, with its type ControlTheme | undefined and a TypeScript example.
- [SpreadsheetOptions.userName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/username-property/llms-full.txt): SpreadsheetOptions.userName property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SpreadsheetOptions.viewMode Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/viewmode-property/llms-full.txt): SpreadsheetOptions.viewMode property in the browser TypeScript API, with its type "normal" | "page-layout" | undefined and a TypeScript example.
- [SpreadsheetOptions.workbook Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/workbook-property/llms-full.txt): SpreadsheetOptions.workbook property in the TX Sheet Control TypeScript API for the browser, with its type Workbook | undefined and a TypeScript example.
- [SpreadsheetOptions.zoom Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/zoom-property/llms-full.txt): SpreadsheetOptions.zoom property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [Spreadsheet.workbook Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheet/workbook-property/llms-full.txt)
- **Next:** [SpreadsheetOptions.areas Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheetoptions/areas-property/llms-full.txt)
