# WorkbookEventMap Interface

> WorkbookEventMap interface in the Node.js TypeScript API: Typed document events; before events run before committing the attempted mutation.

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

---

Typed document events; before events run before committing the attempted mutation.

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 |
|---|---|
| [beforeChange](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforechange-property/llms-full.txt) | The beforeChange value of WorkbookEventMap. |
| [beforeClipboard](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeclipboard-property/llms-full.txt) | The beforeClipboard value of WorkbookEventMap. |
| [beforeEdit](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeedit-property/llms-full.txt) | The beforeEdit value of WorkbookEventMap. |
| [beforeFilter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforefilter-property/llms-full.txt) | The beforeFilter value of WorkbookEventMap. |
| [beforeObjectChange](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeobjectchange-property/llms-full.txt) | The beforeObjectChange value of WorkbookEventMap. |
| [beforeSort](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforesort-property/llms-full.txt) | The beforeSort value of WorkbookEventMap. |
| [beforeStructure](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforestructure-property/llms-full.txt) | The beforeStructure value of WorkbookEventMap. |
| [calculationCompleted](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/calculationcompleted-property/llms-full.txt) | The calculationCompleted value of WorkbookEventMap. |
| [cellActivated](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/cellactivated-property/llms-full.txt) | The cellActivated value of WorkbookEventMap. |
| [cellButtonClick](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/cellbuttonclick-property/llms-full.txt) | The cellButtonClick value of WorkbookEventMap. |
| [changed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/changed-property/llms-full.txt) | The changed value of WorkbookEventMap. |
| [clipboard](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/clipboard-property/llms-full.txt) | The clipboard value of WorkbookEventMap. |
| [dataRefreshRequested](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/datarefreshrequested-property/llms-full.txt) | Host request to refresh live data; listeners schedule asynchronous work. Applying data never emits this event. |
| [edited](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/edited-property/llms-full.txt) | The edited value of WorkbookEventMap. |
| [editingEnded](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/editingended-property/llms-full.txt) | The editingEnded value of WorkbookEventMap. |
| [editingStarted](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/editingstarted-property/llms-full.txt) | The editingStarted value of WorkbookEventMap. |
| [exportProgress](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/exportprogress-property/llms-full.txt) | The exportProgress value of WorkbookEventMap. |
| [fileOperationFailed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/fileoperationfailed-property/llms-full.txt) | The fileOperationFailed value of WorkbookEventMap. |
| [filtered](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/filtered-property/llms-full.txt) | The filtered value of WorkbookEventMap. |
| [listenerError](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/listenererror-property/llms-full.txt) | The listenerError value of WorkbookEventMap. |
| [loaded](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loaded-property/llms-full.txt) | The loaded value of WorkbookEventMap. |
| [loading](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loading-property/llms-full.txt) | The loading value of WorkbookEventMap. |
| [loadProgress](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loadprogress-property/llms-full.txt) | The loadProgress value of WorkbookEventMap. |
| [objectChanged](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/objectchanged-property/llms-full.txt) | The objectChanged value of WorkbookEventMap. |
| [saved](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/saved-property/llms-full.txt) | The saved value of WorkbookEventMap. |
| [saving](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/saving-property/llms-full.txt) | The saving value of WorkbookEventMap. |
| [sorted](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/sorted-property/llms-full.txt) | The sorted value of WorkbookEventMap. |
| [structureChanged](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/structurechanged-property/llms-full.txt) | The structureChanged value of WorkbookEventMap. |
| [validationFailed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/validationfailed-property/llms-full.txt) | The validationFailed value of WorkbookEventMap. |

### Examples

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

```typescript
function inspectWorkbookEventMapBeforeChange(workbookEventMap: { beforeChange: unknown }) {
    const value = workbookEventMap['beforeChange'];
    console.log('WorkbookEventMap.beforeChange', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Events and Cancellation](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/events/llms-full.txt)

---

## In This Section

- [WorkbookEventMap.beforeChange Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforechange-property/llms-full.txt): WorkbookEventMap.beforeChange property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeClipboard Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeclipboard-property/llms-full.txt): WorkbookEventMap.beforeClipboard property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeEdit Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeedit-property/llms-full.txt): WorkbookEventMap.beforeEdit property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeFilter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforefilter-property/llms-full.txt): WorkbookEventMap.beforeFilter property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeObjectChange Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforeobjectchange-property/llms-full.txt): WorkbookEventMap.beforeObjectChange property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeSort Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforesort-property/llms-full.txt): WorkbookEventMap.beforeSort property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.beforeStructure Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforestructure-property/llms-full.txt): WorkbookEventMap.beforeStructure property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.calculationCompleted Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/calculationcompleted-property/llms-full.txt): WorkbookEventMap.calculationCompleted property in the TX Sheet Control TypeScript API for Node.js, with its type CalculationEvent and a TypeScript example.
- [WorkbookEventMap.cellActivated Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/cellactivated-property/llms-full.txt): WorkbookEventMap.cellActivated property in the TX Sheet Control TypeScript API for Node.js, with its type CellInteractionEvent and a TypeScript example.
- [WorkbookEventMap.cellButtonClick Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/cellbuttonclick-property/llms-full.txt): WorkbookEventMap.cellButtonClick property in the TX Sheet Control TypeScript API for Node.js, with its type CellInteractionEvent and a TypeScript example.
- [WorkbookEventMap.changed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/changed-property/llms-full.txt): WorkbookEventMap.changed property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.clipboard Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/clipboard-property/llms-full.txt): WorkbookEventMap.clipboard property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.dataRefreshRequested Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/datarefreshrequested-property/llms-full.txt): WorkbookEventMap.dataRefreshRequested property in the TX Sheet Control TypeScript API for Node.js: Host request to refresh live data.
- [WorkbookEventMap.edited Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/edited-property/llms-full.txt): WorkbookEventMap.edited property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.editingEnded Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/editingended-property/llms-full.txt): WorkbookEventMap.editingEnded property in the TX Sheet Control TypeScript API for Node.js, with its type EditingEvent and a TypeScript example.
- [WorkbookEventMap.editingStarted Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/editingstarted-property/llms-full.txt): WorkbookEventMap.editingStarted property in the TX Sheet Control TypeScript API for Node.js, with its type EditingEvent and a TypeScript example.
- [WorkbookEventMap.exportProgress Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/exportprogress-property/llms-full.txt): WorkbookEventMap.exportProgress property in the TX Sheet Control TypeScript API for Node.js, with its type FileProgressEvent and a TypeScript example.
- [WorkbookEventMap.fileOperationFailed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/fileoperationfailed-property/llms-full.txt): WorkbookEventMap.fileOperationFailed property in the Node.js TypeScript API, with its type FileOperationFailedEvent and a TypeScript example.
- [WorkbookEventMap.filtered Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/filtered-property/llms-full.txt): WorkbookEventMap.filtered property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.listenerError Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/listenererror-property/llms-full.txt): WorkbookEventMap.listenerError property in the TX Sheet Control TypeScript API for Node.js, with its type ListenerErrorEvent and a TypeScript example.
- [WorkbookEventMap.loaded Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loaded-property/llms-full.txt): WorkbookEventMap.loaded property in the TX Sheet Control TypeScript API for Node.js, with its type FileLoadedEvent and a TypeScript example.
- [WorkbookEventMap.loading Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loading-property/llms-full.txt): WorkbookEventMap.loading property in the TX Sheet Control TypeScript API for Node.js, with its type FileOperationStartingEvent and a TypeScript example.
- [WorkbookEventMap.loadProgress Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/loadprogress-property/llms-full.txt): WorkbookEventMap.loadProgress property in the TX Sheet Control TypeScript API for Node.js, with its type FileProgressEvent and a TypeScript example.
- [WorkbookEventMap.objectChanged Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/objectchanged-property/llms-full.txt): WorkbookEventMap.objectChanged property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.saved Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/saved-property/llms-full.txt): WorkbookEventMap.saved property in the TX Sheet Control TypeScript API for Node.js, with its type FileOperationEvent and a TypeScript example.
- [WorkbookEventMap.saving Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/saving-property/llms-full.txt): WorkbookEventMap.saving property in the TX Sheet Control TypeScript API for Node.js, with its type FileOperationStartingEvent and a TypeScript example.
- [WorkbookEventMap.sorted Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/sorted-property/llms-full.txt): WorkbookEventMap.sorted property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.structureChanged Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/structurechanged-property/llms-full.txt): WorkbookEventMap.structureChanged property in the TX Sheet Control TypeScript API for Node.js, with its type MutationEvent and a TypeScript example.
- [WorkbookEventMap.validationFailed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/validationfailed-property/llms-full.txt): WorkbookEventMap.validationFailed property in the TX Sheet Control TypeScript API for Node.js, with its type ValidationEvent and a TypeScript example.

---

## Nearby

- **Previous:** [WorkbookDocument Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookdocument/llms-full.txt)
- **Next:** [WorkbookEventMap.beforeChange Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/beforechange-property/llms-full.txt)
