Ag-Grid - Get cell list from RowNode

Viewed 251

How can i get the list of all cell instances in a specific row in Ag-Grid?

This is the gridOption object:

export const gridOptions = props => ({
    columnDefs: columnDefs(props),
    deltaRowDataMode: true,
    getRowNodeId: data => data.id,
    reactNext: true,
    loadingOverlayComponentFramework: Loader,
    onCellMouseOver: api => {
        // RowNode
        const row = api.node;
    },
});

In the onCellMouseOver method i have the RowNode class of the current hovered row. I tried to find some method in there as getCells but could not find anything... Is there any other way?

0 Answers
Related