API REFERENCE

getHoveredRowId

Reads the current hovered row ID or null.

What does this API do?

Reads the current hovered row ID or null.

Exact input and result types

typescript
getHoveredRowId(): Promise<string | number | null>
ArgumentsRequiredType

The return type is Promise<string | number | null>.

Usage flow

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

Feature explanations and examples