View as Markdown

API reference: @salmonui/data-grid

DataGridDetailLoadContextinterface

import type { DataGridDetailLoadContext } from '@salmonui/data-grid';
interface DataGridDetailLoadContext<Row> {
    readonly rowId: RowId;
    readonly row: Row;
    readonly signal: AbortSignal;
}

Context of loadDetail.

DataGridDetailLoadContext members (3)
NameSignatureDescription
rowIdreadonly rowId: RowId;
rowreadonly row: Row;
signalreadonly signal: AbortSignal;

Aborted when the row object is replaced or the grid unmounts.