Power table changing datasets and making them editable

Hi,

I’m trying to make a simple dataset editor tool where you can chose a dataset tag in a tag browse tree and then the data is displayed in a power table where you should be able to edit the data.

The problem is that when I choose a dataset the ‘editable’ flag for each column is false by default. I could set them to true for each column in the ‘Column Attributes Data’, but when I choose a new dataset tag in the tag browse tree then the ‘Column Attributes Data’ would change and I would have to set the flag to true for each column in the new dataset too.

I’m also noticing that when I choose a new dataset tag in the tag tree browser, the ‘Column Attributes Data’ isn’t updated to the new dataset, but retains the data from the previous dataset.

Is there a way to automatically update the ‘Column Attributes Data’ and set the columns to editable in the power table when choosin a new dataset for the power table?

Thanks

No, the C-A-D dataset update is purely a designer operation. You will have to script it, or build a large C-A-D with all possible columns preloaded.

Alright, thanks. I managed to script it without much trouble.