# DataGridLoadingRowContext (@salmonui/data-grid)

> The DataGridLoadingRowContext interface of @salmonui/data-grid: Context of renderLoadingRow: a row of a block that is loading or failed to load.

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

```ts
import type { DataGridLoadingRowContext } 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 DataGridLoadingRowContext {
    readonly rowIndex: number;
    readonly status: 'loading' | 'error';
    readonly error: unknown;
    readonly retry: () => void;
}
```

Context of `renderLoadingRow`: a row of a block that is loading or failed to load.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rowIndex` | `readonly rowIndex: number;` |  |  |
| `status` | `readonly status: 'loading' \| 'error';` |  |  |
| `error` | `readonly error: unknown;` |  |  |
| `retry` | `readonly retry: () => void;` |  | Retries the failed block load. |
