I would like to refresh a single cell in ag-grid. Using the gridApi.refreshCells().
This refresh is called by a piece of code that keeps track of the current and previous cell. So what i would like to do it is to update the previous cell.
I tried the following:
gridApi.refreshCells({columns: [prevColumn], rowNodes: [prevRowNode]});
Note that the prevColumn is of type "Column" and prevRowNode is of type "RowNode"
Calling this works, except that it will refresh an entire column and not just a single cell.
Also refreshing a single row is also not working, which when modifying the above to just use the rowNodes will still update the column.
Thanks you guys!