API REFERENCE

destroyCellRendererInstance

Destroys a specified mounted cell renderer instance.

What does this API do?

Destroys a specified mounted cell renderer instance.

Exact input and result types

typescript
destroyCellRendererInstance(rowId: GridRowId, colId: string): Promise<boolean>
ArgumentsRequiredType
rowIdRequiredGridRowId
colIdRequiredstring

The return type is Promise<boolean>.

Usage flow

After registering and initializing the Grid element, call grid.destroyCellRendererInstance(…). 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