Edit Column Attributes Dataset

Take a look at this script. If you analyze it you should be able to see the places where your script went off track.

table = event.source.parent.getComponent('Table')
columnData = table.columnAttributesData
newData = system.dataset.setValue(columnData, 1, 'editable', 1)
table.columnAttributesData = newData
1 Like