# Power table changing datasets and making them editable

**URL:** <https://forum.inductiveautomation.com/t/power-table-changing-datasets-and-making-them-editable/61231>\
**Category:** Ignition\
**Created:** [June 27, 2022, 9:52am UTC](https://forum.inductiveautomation.com/t/power-table-changing-datasets-and-making-them-editable/61231 "2022-06-27T09:52:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esn](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@Esn](https://forum.inductiveautomation.com/u/Esn)\
**Post date:** [June 27, 2022, 9:52am UTC](https://forum.inductiveautomation.com/t/power-table-changing-datasets-and-making-them-editable/61231/1 "2022-06-27T09:52:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 27, 2022, 11:20am UTC](https://forum.inductiveautomation.com/t/power-table-changing-datasets-and-making-them-editable/61231/2 "2022-06-27T11:20:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Esn](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@Esn](https://forum.inductiveautomation.com/u/Esn)\
**Post date:** [June 28, 2022, 7:04am UTC](https://forum.inductiveautomation.com/t/power-table-changing-datasets-and-making-them-editable/61231/3 "2022-06-28T07:04:34Z")

</div>

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