# workbookId

Identifies the workbook connecting multiple Grid sheets. Set it together with sheetName for cross-sheet references.

Canonical: https://grid.syidax.com/docs/options/workbookId/

<a id="meaning"></a>

## What does this API do?

Identifies the workbook connecting multiple Grid sheets. Set it together with sheetName for cross-sheet references.

API for Pro features: Built-in formulas, references, dependency recalculation and calculated columns

<a id="contract"></a>

## Exact input and result types

```typescript
workbookId: string
```

| Item | Value |
| --- | --- |
| JavaScript name | workbookId |
| HTML attribute | workbook-id |
| Default | undefined |
| Input type | string |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the workbook-id attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Formula calculation](https://grid.syidax.com/docs/features/formulas.md) — Formulas evaluate strings beginning with = and display the result in a cell. For example, =SUM(A1:A3) references the first column in the original column definitions and the first three source rows.
