I would like to use a switch, with which I would like to make a table editable, which is normally not editable.
For this I have made a small JS query, whith the following code:
table1.disableEdits = !switch1.value;
While this code runs successfully, it doesn't actually have any effect. The table remains uneditable.
I fear that disableEdits
is supposed to be a readonly attribute, and that it can only be changed in edit mode, but not dynamically.
Any advise is highly appreciated.
Thanks