# Hide a column in ui\_table

**URL:** <https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512>\
**Category:** Dashboard\
**Created:** [11 March 2021 21:46 UTC](https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512 "2021-03-11T21:46:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![notnice](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@notnice](https://discourse.nodered.org/u/notnice)\
**Post date:** [11 March 2021 21:46 UTC](https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512/1 "2021-03-11T21:46:41Z")

</div>

I can't figure how to hide a column in my dashboard ui\_table. I found the link below on Tabulator site and have tried combinations of different options using msg.ui\_control or just as msg.payload without success. Thought there would be a NR example on the internet, btu no joy.

I'm not doing any formatting of the table outside of what is in the ui\_table options.

Anyone know how to do this?

> **[Tabulator - Interactive JavaScript Tables](http://tabulator.info/docs/4.5/columns)**
>
> Create interactive data tables in seconds with Tabulator. A lightweight, fully featured JavaScript table generation library.

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [12 March 2021 07:44 UTC](https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512/2 "2021-03-12T07:44:31Z")

</div>

There is an example bundled with UI-Table:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/732e8ad0d43774a5e7808bc4ffb9967f256b2b72.png)  
this provides a button to hide a column.

either you set the `visible` parameter of the column you like to hide to false in the beginning or send an update later.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/8/484f3f4f3f62da3d0dd7c2c0a55da11b4c26a3f1.png)

ui-table adds/merge column paramters arriving later to the existing tabulator object identified by the `field` paramteter

---

<div class="post-metadata">

**Author:** ![notnice](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@notnice](https://discourse.nodered.org/u/notnice)\
**Post date:** [12 March 2021 08:45 UTC](https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512/3 "2021-03-12T08:45:16Z")

</div>

Doh, I feel like such an idiot not looking in the examples!! 😳  
Thx very much for the quick repsonse Christian - works perfect.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 March 2021 08:46 UTC](https://discourse.nodered.org/t/hide-a-column-in-ui-table/42512/4 "2021-03-26T08:46:05Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
