# DataGridTreeToggleProps (@salmonui/data-grid)

> The DataGridTreeToggleProps interface of @salmonui/data-grid.

Canonical: https://salmonui.dev/docs/reference/data-grid/DataGridTreeToggleProps

```ts
import type { DataGridTreeToggleProps } from '@salmonui/data-grid';
```

Entry index: https://salmonui.dev/docs/reference/data-grid (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid.md).

## Reference

Kind: interface

```ts
interface DataGridTreeToggleProps {
    readonly rowId: RowId;
    readonly label?: string;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `label` | `readonly label?: string;` | optional | The row's name in the button label (`Expand {row}`). Default: the tree column's text. |
