# Spreadsheet Interface

> Spreadsheet interface in the Node.js TypeScript API: Coordinates the editor lifecycle and delegates document and interaction behavior to focused operations.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > Spreadsheet Interface
- **652 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/llms-full.txt

---

Coordinates the editor lifecycle and delegates document and interaction behavior to focused operations.

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 |
|---|---|
| [host](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/host-property/llms-full.txt) | The host value of Spreadsheet. |
| [licenseInfo](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/licenseinfo-property/llms-full.txt) | Immutable signed customer entitlement and current trial validity. |
| [ready](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/ready-property/llms-full.txt) | Resolves after discovery, font-picker initialization and initial document fonts; rejects on failure. |
| [ui](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/ui-property/llms-full.txt) | The ui value of Spreadsheet. |
| [userName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/username-property/llms-full.txt) | Current comment author, shared with this control's workbook runtime. |
| [workbook](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/workbook-property/llms-full.txt) | The workbook value of Spreadsheet. |

#### Methods

| Method | Description |
|---|---|
| [destroy](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/destroy-method/llms-full.txt) | The destroy operation of Spreadsheet. |
| [load](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/load-method/llms-full.txt) | Loads XLSX/TXWB bytes or CSV/XML/JSON text/UTF-8 bytes atomically. Tabular formats replace the workbook with one worksheet. |
| [save](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/save-method/llms-full.txt) | Saves a snapshot with reusable format-specific options; PDF is save-only. |
| [saveText](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/savetext-method/llms-full.txt) | Saves CSV, XML or JSON text with flat settings. Omits a generated CSV BOM; UTF-8 byte limits/events still include it. Does not change the workbook or options. |

### Examples

Pass the Spreadsheet value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectSpreadsheetUserName(spreadsheet: { userName: string }) {
    const value = spreadsheet['userName'];
    console.log('Spreadsheet.userName', value);
}
```

### See Also

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

---

## In This Section

- [Spreadsheet.destroy Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/destroy-method/llms-full.txt): Spreadsheet.destroy method in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [Spreadsheet.host Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/host-property/llms-full.txt): Spreadsheet.host property in the TX Sheet Control TypeScript API for Node.js, with its type HTMLElement and a TypeScript example.
- [Spreadsheet.licenseInfo Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/licenseinfo-property/llms-full.txt): Spreadsheet.licenseInfo property in the TX Sheet Control TypeScript API for Node.js: Immutable signed customer entitlement and current trial validity.
- [Spreadsheet.load Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/load-method/llms-full.txt): Spreadsheet.load method in the TX Sheet Control TypeScript API for Node.js: Loads XLSX/TXWB bytes or CSV/XML/JSON text/UTF-8 bytes atomically.
- [Spreadsheet.ready Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/ready-property/llms-full.txt): Spreadsheet.ready property in the TX Sheet Control TypeScript API for Node.js: Resolves after discovery, font-picker initialization and initial document fonts.
- [Spreadsheet.save Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/save-method/llms-full.txt): Spreadsheet.save method in the TX Sheet Control TypeScript API for Node.js: Saves a snapshot with reusable format-specific options; PDF is save-only.
- [Spreadsheet.saveText Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/savetext-method/llms-full.txt): Spreadsheet.saveText method in the TX Sheet Control TypeScript API for Node.js: Saves CSV, XML or JSON text with flat settings. Omits a generated CSV BOM.
- [Spreadsheet.ui Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/ui-property/llms-full.txt): Spreadsheet.ui property in the TX Sheet Control TypeScript API for Node.js, with its type EditorUi and a TypeScript example.
- [Spreadsheet.userName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/username-property/llms-full.txt): Spreadsheet.userName property in the TX Sheet Control TypeScript API for Node.js: Current comment author, shared with this control's workbook runtime.
- [Spreadsheet.workbook Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/workbook-property/llms-full.txt): Spreadsheet.workbook property in the TX Sheet Control TypeScript API for Node.js, with its type Workbook and a TypeScript example.

---

## Nearby

- **Previous:** [SparklineType Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sparklinetype/llms-full.txt)
- **Next:** [Spreadsheet.destroy Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheet/destroy-method/llms-full.txt)
