There is a rowColorCallback (the only way to conditionally colorize a row?) which i use set the row color if it is in state "updated" ... However, the state seems to be always in updated state when changed for the first time, even if the line later does not differ from the original value
Example:
Initial content of cell "name" is "test" -> row status = "added" -> row color is white
Content gets changed to "test2" -> row status = "updated" -> row color switched to orange
Content gets changed back to "test" again -> status = "updated" -> row color is still orange ... even if the row now is the same as initial ...
Any idea how to check if the row is edited in a way that it corresponds to the original value?
There is a
rowColorCallback
(the only way to conditionally colorize a row?) which i use set the row color if it is in state "updated" ... However, the state seems to be always in updated state when changed for the first time, even if the line later does not differ from the original valueExample:
Initial content of cell "name" is "test" -> row status = "added" -> row color is white Content gets changed to "test2" -> row status = "updated" -> row color switched to orange Content gets changed back to "test" again -> status = "updated" -> row color is still orange ... even if the row now is the same as initial ...
Any idea how to check if the row is edited in a way that it corresponds to the original value?