I haven’t tried doing this myself, but it should be possible. This post might help:
Then if you know what rows and columns have change you can update the style_data_conditional
prop to highlight the changes.
For the editable columns toggle, that should be pretty easy. The button could trigger a callback to update the columns
prop with either:
columns=[
{"name": column, "id": column, "editable": True, "type": "numeric"}
for column in list("ABCD")
]
or
columns=[
{"name": column, "id": column, "type": "numeric"}
for column in list("ABCD")
]
I hope that helps