# Programmatically hide or show vision table column

**URL:** <https://forum.inductiveautomation.com/t/programmatically-hide-or-show-vision-table-column/38695>\
**Category:** Ignition\
**Created:** [September 15, 2020, 3:19pm UTC](https://forum.inductiveautomation.com/t/programmatically-hide-or-show-vision-table-column/38695 "2020-09-15T15:19:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [September 15, 2020, 3:46pm UTC](https://forum.inductiveautomation.com/t/programmatically-hide-or-show-vision-table-column/38695/4 "2020-09-15T15:46:11Z")

</div>

It's possible but has some caveats with it.

This post shows how to get the columnsAttributeData and sets a column to be editable during runtime. You can probably achieve what you want manipulating the hidden attribute.

> [@Edit Column Attributes Dataset](http://forum.inductiveautomation.com/t/edit-column-attributes-dataset/21120/4):
>
> 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

I also think it's important to read this:

> [@Column Attributes Data Refresh](http://forum.inductiveautomation.com/t/column-attributes-data-refresh/7043/2):
>
> That dataset only updates when you open the customizer. You could put a Cell Updated binding on it if you want to force some values in there, or bind the whole dataset to something else, but generally modifying the Cell Attributes dataset is a pain. It will remember rows you have already set up even if the column wasn’t there a few minutes ago.

---

_[View the full topic](https://forum.inductiveautomation.com/t/programmatically-hide-or-show-vision-table-column/38695)._
