Skip to content

Remote Control

const cancelSmoothScroll$: NodeRef<void>

Remote action that cancels the active smooth scroll animation, if any.


const columnWidthOverrides$: NodeRef<Map<string, number>>


const dispatchModelAction$: NodeRef<DispatchModelActionPayload>

Remote command stream for dispatching a data model action through the table engine.


const itemHeight$: NodeRef<ItemHeightFunction>

Remote cell that contains a function for resolving the measured height of a data item.


ItemHeightFunction<Data> = (item) => number

Resolves the measured height of a data item. Returns 0 when the item is not part of the current table data or has not been measured yet.

Type ParameterDefault typeDescription
DataanyThe type of the data items in the table.
ParameterType
itemData

number


const modelActionState$: NodeRef<ModelActionState>

Current stateful data model action payloads exposed through the table engine.


const scrollerElement$: NodeRef<HTMLDivElement | null>

Remote cell that holds the current table scroller element.


const scrollIntoView$: NodeRef<RowLocation>


const scrollToRow$: NodeRef<RowLocation>


const setColumnSticky$: NodeRef<SetColumnStickyPayload>

Remote action that toggles a column sticky state.


Payload for changing the sticky side of a column.

string


"left" | "right" | undefined