# How can I show / hide the component column of the Perspective table at runtime?

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 22, 2021, 10:26am UTC](https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330 "2021-11-22T10:26:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesma2000](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@cesma2000](https://forum.inductiveautomation.com/u/cesma2000)\
**Post date:** [November 22, 2021, 10:26am UTC](https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330/1 "2021-11-22T10:26:08Z")

</div>

Hi folks, I need to add a feature to my project, but I need some advice because I have been using this SW for less than a while.  
On the page, I use views to show data with the table component, the data to show in the table can have a lot column (a variable number from 26 to 60).  
Is there a clever way to let the users, at runtime, to decide which column to show? What is the best strategy to have good flexibility for my application?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 22, 2021, 11:46am UTC](https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330/2 "2021-11-22T11:46:22Z")

</div>

a multi select combo box. with a binding on the tables columns to it which a script transform edit…  
not idea if it has tons of options tho  
if you want it to be saved between session you will have to write it to a db, (with username + page?)

---

<div class="post-metadata">

**Author:** ![cesma2000](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@cesma2000](https://forum.inductiveautomation.com/u/cesma2000)\
**Post date:** [November 23, 2021, 1:59pm UTC](https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330/3 "2021-11-23T13:59:19Z")

</div>

Thx Victor, to replay to my question and to suggest this solution.  
I’ll test it asap.  
I don’t think i need to save the settings of the tab between 2 different sessions, i suppose that  
in case of 2 session run, the settings need to be done 2 times independently.  
I have a number of tables that need to be showed all in view and then aggregated  
depending on specific analysis, the operator need to do.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 23, 2021, 2:06pm UTC](https://forum.inductiveautomation.com/t/how-can-i-show-hide-the-component-column-of-the-perspective-table-at-runtime/53330/4 "2021-11-23T14:06:16Z")

</div>

good luck^^
