Hi HOT Community,
I’d like to show the differences in a row before and after a number of cells are edited. As an example if you have a row numbered ‘7’ of 5 cells, all cells have values a,b,c,d,e,f and you drag-select a,b,c and press delete I want to be able to show a diff:
Row: 7
Change made: a,b,c,d,e,f
In afterChange
or even beforeChange
I can’t get the value of the row before the change was made. The only solution I have at the moment seems to be keeping my own copy of the entire data model for HOT, which sounds inefficient. Does anyone have a better idea?
I have a debounce setup at ~500ms so that I can capture multiple cell changes as just one ‘row change’. I could really painfully try and back off all the change deltas from the new row value, but that also sounds painful.