Closed Retr0sec7 closed 1 year ago
I think you can use the callback PlutoColumnCheckReadOnly instead of setting readOnly true in the constructor. I found this by looking at the readOnly argument in the plutoGrid source code.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
So I have some columns that I need to toggle between editable and non-editable. I also have a state variable that toggles between
true/false
which is set to theenableEditingMode
on the columns definition. The problem is that whenever callsetState
to reload the table and the columns, the columns stays the same and don't toggle between editable and noneditable. I tried to callresetCurrentState
andnotifyListeners
but it doesn't seems to work.