# DataGridDevtoolsCommit (@salmonui/data-grid)

> The DataGridDevtoolsCommit interface of @salmonui/data-grid: Dev-only commit report passed to globalThis.SALMON_UI_DEVTOOLS.onCommit.

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

```ts
import type { DataGridDevtoolsCommit } 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 DataGridDevtoolsCommit {
    readonly gridId: string;
    readonly phase: 'mount' | 'update' | 'nested-update';
    readonly actualDuration: number;
    readonly cells: readonly string[];
    readonly rows: readonly RowId[];
    readonly headers: readonly ColumnId[];
}
```

Dev-only commit report passed to `globalThis.__SALMON_UI_DEVTOOLS__.onCommit`.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `gridId` | `readonly gridId: string;` |  |  |
| `phase` | `readonly phase: 'mount' \| 'update' \| 'nested-update';` |  |  |
| `actualDuration` | `readonly actualDuration: number;` |  |  |
| `cells` | `readonly cells: readonly string[];` |  | `rowId:columnId` of every body cell rendered in the commit. |
| `rows` | `readonly rows: readonly RowId[];` |  |  |
| `headers` | `readonly headers: readonly ColumnId[];` |  |  |
