# DataGridLoadingContext (@salmonui/data-grid)

> The DataGridLoadingContext interface of @salmonui/data-grid: Context of renderLoading.

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

```ts
import type { DataGridLoadingContext } 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 DataGridLoadingContext {
    readonly phase: DataGridLoadingPhase;
}
```

Context of `renderLoading`.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `phase` | `readonly phase: DataGridLoadingPhase;` |  | `initial` before the first result, `page` while a page change loads, else `refresh` (also `setLoading(true)`). |
