How to know which cells were edited? #96
-
Hi, Is there a way to know which cells were edited? If not, any idea on how this could be implemented? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello @danisal , The second, mote robust solution is to use Since this topic is probably the most requested I think it should be part of the core lib. |
Beta Was this translation helpful? Give feedback.
-
This is now available in 3.4.0, please read the doc for |
Beta Was this translation helpful? Give feedback.
Hello @danisal ,
There are multiple ways to achieve this.
This easiest way is to use the onBlur prop, only called when the user is done editing a cell. But it will not be called when the user adds a row, deletes a row, copy-pastes data...
The second, mote robust solution is to use
onChange
and to do some with between the received value and the current value. An example implementation of this can be found here.Since this topic is probably the most requested I think it should be part of the core lib.