API REFERENCE

setHoveredRow

Sets the row targeted by stateful hover. Does not change actual row selection.

What does this API do?

Sets the row targeted by stateful hover. Does not change actual row selection.

Exact input and result types

typescript
setHoveredRow(rowId: string | number | null): Promise<void>
ArgumentsRequiredType
rowIdRequiredstring | number | null

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.setHoveredRow(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Feature explanations and examples