# DataWorkbook Interface

> DataWorkbook interface in the TX Sheet Control TypeScript API for Node.js, with its syntax, 3 properties and a TypeScript example.

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

---

Minimal structural workbook contract; compatible with browser, Angular and Node workbooks.

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

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

### Members

#### Properties

| Property | Description |
|---|---|
| [analytics](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/analytics-property/llms-full.txt) | The analytics value of DataWorkbook. |
| [events](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/events-property/llms-full.txt) | The events value of DataWorkbook. |
| [sheets](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/sheets-property/llms-full.txt) | The sheets value of DataWorkbook. |

### Examples

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

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

function inspectDataWorkbookEvents(dataWorkbook: DataWorkbook) {
    const value = dataWorkbook['events'];
    console.log('DataWorkbook.events', 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

- [DataWorkbook.analytics Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/analytics-property/llms-full.txt): DataWorkbook.analytics property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [DataWorkbook.events Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/events-property/llms-full.txt): DataWorkbook.events property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [DataWorkbook.sheets Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/sheets-property/llms-full.txt): DataWorkbook.sheets property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.

---

## Nearby

- **Previous:** [DataValue Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datavalue/llms-full.txt)
- **Next:** [DataWorkbook.analytics Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataworkbook/analytics-property/llms-full.txt)
