# A code to let me choose which column do I want to show/hide

**URL:** <https://forums.knack.com/t/a-code-to-let-me-choose-which-column-do-i-want-to-show-hide/7586>\
**Category:** Ask Developers\
**Created:** [August 3, 2016, 7:56pm UTC](https://forums.knack.com/t/a-code-to-let-me-choose-which-column-do-i-want-to-show-hide/7586 "2016-08-03T19:56:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilhermeb42087](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Guilhermeb42087](https://forums.knack.com/u/Guilhermeb42087)\
**Post date:** [August 3, 2016, 7:56pm UTC](https://forums.knack.com/t/a-code-to-let-me-choose-which-column-do-i-want-to-show-hide/7586/1 "2016-08-03T19:56:57Z")

</div>

Hi there,

I have a really long table with lots of columns. All of them are important, but not everytime. So I was wondering if someone could help me to code (javascript? ) a way to let the user choose which column he wants to show or hide.

Does anyone have any clue?

Thanks!
