Appearance
Home > @liquidrazor/list-display > ActionContextBase
ActionContextBase interface
Signature:
typescript
export interface ActionContextBase<TRow = any, TRowId = string | number>Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
() => ListSnapshot<TRow, TRowId> | Export a full snapshot of the current list state. | ||
() => void | Promise<void> | (Optional) Optional hook to trigger a data source refresh. | ||
TRow[] | All rows managed by the list (after data source + local mutations). | ||
SelectionState<TRowId> | |||
SortDescriptor<TRow> | (Optional) | ||
(updater: (current: TRow[]) => TRow[]) => void | Primary way for actions to mutate the list. | ||
TRow[] | Rows currently visible in the UI (after filters/sort/pagination). |