I want to pass two use cases , Suppose the value of cell is initially 1
- If I changed it 2 then color of cell should get changed.
- If again I, changed back to 1 then color of the cell should not get changed.
Here, my 1st use case can successfully passed by using, fun onValueChanged() provided by ag-grid where I can track the old value and new value
(params.oldvalue !== params.newValue ? {color: red} : {}
but for 2nd case, the issue is that we cannot track the old value i,e 1 once it get changed from 2 to again 1, as then 2 becomes oldvalue and 1 becomes new value