API REFERENCE

getCellRendererInstance

Queries mounted cell renderer instances. Offscreen cells may be unmounted because of virtualization.

What does this API do?

Queries mounted cell renderer instances. Offscreen cells may be unmounted because of virtualization.

Exact input and result types

typescript
getCellRendererInstance(rowId: GridRowId, colId: string): Promise<GridRendererDiscovery<GridData, unknown, unknown>>
ArgumentsRequiredType
rowIdRequiredGridRowId
colIdRequiredstring

The return type is Promise<GridRendererDiscovery<GridData, unknown, unknown>>.

Usage flow

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

Read related types

Feature explanations and examples