API reference: @salmonui/data-grid
DataGridLoadingRowContextinterface
import type { DataGridLoadingRowContext } from '@salmonui/data-grid';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.
| Name | Signature | Description |
|---|---|---|
rowIndex | readonly rowIndex: number; | |
status | readonly status: 'loading' | 'error'; | |
error | readonly error: unknown; | |
retry | readonly retry: () => void; | Retries the failed block load. |