API reference: @salmonui/data-grid/engine
NotificationScopeinterface
import type { NotificationScope } from '@salmonui/data-grid/engine';interface NotificationScope {
readonly grid?: boolean;
readonly rows?: readonly RowId[];
readonly cells?: readonly CellRef[];
readonly headers?: readonly ColumnId[];
readonly allRows?: boolean;
readonly allHeaders?: boolean;
}
| Name | Signature | Description |
|---|---|---|
gridoptional | readonly grid?: boolean; | Replace the grid snapshot (bump |
rowsoptional | readonly rows?: readonly RowId[]; | |
cellsoptional | readonly cells?: readonly CellRef[]; | |
headersoptional | readonly headers?: readonly ColumnId[]; | |
allRowsoptional | readonly allRows?: boolean; | Notify every subscribed row (large selection changes: O(subscribed rows), not O(changed rows)). |
allHeadersoptional | readonly allHeaders?: boolean; | Notify every subscribed header. |