# Dynamically show/hide column in powertable

**URL:** <https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801>\
**Category:** Ignition\
**Created:** [February 22, 2019, 1:55pm UTC](https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801 "2019-02-22T13:55:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [February 22, 2019, 1:55pm UTC](https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801/1 "2019-02-22T13:55:48Z")

</div>

I try to dynamically show/hide columns in powertable ?

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [February 22, 2019, 3:03pm UTC](https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801/2 "2019-02-22T15:03:22Z")

</div>

In the **Columns Attribute Data** property of your power table click on the binding icon, then choose “Cell Update”, here click on the “Hidden” column then the green plus, at this point you can bind that to a TAG.

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [August 23, 2019, 1:13am UTC](https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801/3 "2019-08-23T01:13:35Z")

</div>

I would also like to do this, but this solution doesn’t work with the Column Chooser Menu.  
Is there a way to programatically edit the Column Chooser to show/hide columns?

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [August 26, 2019, 6:32am UTC](https://forum.inductiveautomation.com/t/dynamically-show-hide-column-in-powertable/22801/4 "2019-08-26T06:32:12Z")

</div>

It doesn’t work due to the TAG binding. When you try to hide the column from the “Column Chooser”. if the TAG is set to 1, the column will not hide.  
For have this method to work, you have to catch the Column Chooser event, check the TAG status and in case, set the TAG accordingly.  
Unfortunately, I don’t’ know how to do it ☹. But, I suggest you post a dedicated post here in the forum, maybe someone knows how to do it.  
PS: The method I suggested to [mazeyrat] was the easiest way to achieve his goal, I suppose there are other methods to hide/show columns, but they require scripting
