# Can I hide a whole "Tab"?

**URL:** <https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154>\
**Category:** Dashboard\
**Created:** [27 December 2018 07:42 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154 "2018-12-27T07:42:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesho](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jamesho](https://discourse.nodered.org/u/jamesho)\
**Post date:** [27 December 2018 07:42 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/1 "2018-12-27T07:42:35Z")

</div>

Can I hide a whole "Tab"? Because I need to display different number of charts up to various devices.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 December 2018 08:18 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/2 "2018-12-27T08:18:15Z")

</div>

See [[Announce] Dashboard version 2.13.0](https://discourse.nodered.org/t/announce-dashboard-version-2-13-0/6065?u=dceejay)

---

<div class="post-metadata">

**Author:** ![jamesho](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jamesho](https://discourse.nodered.org/u/jamesho)\
**Post date:** [27 December 2018 10:05 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/3 "2018-12-27T10:05:37Z")

</div>

Thank you, I got it, but what msg.payload should be sent to ui\_control to disable the tab?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 December 2018 10:17 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/4 "2018-12-27T10:17:01Z")

</div>

Not yet possible. That is why it says “manually”. And that there is more to come.

---

<div class="post-metadata">

**Author:** ![jamesho](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jamesho](https://discourse.nodered.org/u/jamesho)\
**Post date:** [27 December 2018 10:19 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/5 "2018-12-27T10:19:29Z")

</div>

Great, look forward to seeing it, thank you so much.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [31 December 2018 18:33 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/6 "2018-12-31T18:33:32Z")

</div>

dceejay,  
Do you know if it will be soon in the next revision or version?  
This is something important I'm looking forward to for my application in NR.

Kind Regards,

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 December 2018 18:35 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/7 "2018-12-31T18:35:06Z")

</div>

Probably., but no date.

---

<div class="post-metadata">

**Author:** ![lenny1972](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lenny1972/32/13210_2.png) [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Post date:** [31 December 2019 06:14 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/8 "2019-12-31T06:14:38Z")

</div>

I'm running NR v0.20.7 with dashboard v 2.13.0 and I'm wondering if it's possible to hide an entire TAB by using a change node (forming the JSON code) and a ui\_button.  
For example I've a TAB named `CONFIGURAZIONE` and - inside this tab a `GROUP` called `Impostazione Modulo`.  
I succceed in hiding the `GROUP` by using the following JSON code in a change node and then sent it to a `ui_control` node as per the image attached

 ![group_hiding_working](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9b930d04e85cad0b9a423cf17ebef9f773392851.png)

while it's not possible to hide the entire `TAB` CONFIGURAZIONE (below the json code I've tried)

 ![tab_hiding_not_working](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/71a95b3f06321fdb04cd2c2b942a8e06b08ff921.png)

Did someone succed in hiding an entire `TAB` ? If so, where is my fault? Probably upgrading the dashboard to a newer release (i.e. 2.17.1) will solve the issue?

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [3 January 2020 11:20 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/9 "2020-01-03T11:20:11Z")

</div>

@lenny1972, Works for me. Here is my testing flow.

```auto
[{"id":"57721ee6.0a352","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"86417101.23fba","type":"ui_ui_control","z":"57721ee6.0a352","name":"","events":"all","x":600,"y":280,"wires":[["af7c79b8.2b5658"]]},{"id":"25ece4c9.1d069c","type":"change","z":"57721ee6.0a352","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"tabs\":{\"hide\":\"Config\"}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":280,"wires":[["86417101.23fba"]]},{"id":"f2a78109.a94bc","type":"ui_text","z":"57721ee6.0a352","group":"eeb7e778.802138","order":2,"width":"3","height":"1","name":"","label":"Config-G1","format":"{{msg.payload}}","layout":"row-spread","x":410,"y":100,"wires":[]},{"id":"99a786a3.9d8618","type":"ui_text","z":"57721ee6.0a352","group":"f62442d8.46a67","order":3,"width":"3","height":"1","name":"","label":"Home-G1","format":"{{msg.payload}}","layout":"row-spread","x":400,"y":140,"wires":[]},{"id":"f1d0b50e.eeb648","type":"inject","z":"57721ee6.0a352","name":"Hide","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":280,"wires":[["25ece4c9.1d069c"]]},{"id":"af7c79b8.2b5658","type":"debug","z":"57721ee6.0a352","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":280,"wires":[]},{"id":"1e920d12.480023","type":"inject","z":"57721ee6.0a352","name":"","topic":"","payload":"Config","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":210,"y":100,"wires":[["f2a78109.a94bc"]]},{"id":"a69fcef8.aa584","type":"inject","z":"57721ee6.0a352","name":"","topic":"","payload":"Home","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":210,"y":140,"wires":[["99a786a3.9d8618"]]},{"id":"1e4a3c85.e2c743","type":"ui_ui_control","z":"57721ee6.0a352","name":"","events":"all","x":600,"y":240,"wires":[["6cf0e0ba.eb851"]]},{"id":"c36950c8.5aa9a","type":"change","z":"57721ee6.0a352","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"tabs\":{\"show\":\"Config\"}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":240,"wires":[["1e4a3c85.e2c743"]]},{"id":"f2b5925f.3a6bd","type":"inject","z":"57721ee6.0a352","name":"Show","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":240,"wires":[["c36950c8.5aa9a"]]},{"id":"6cf0e0ba.eb851","type":"debug","z":"57721ee6.0a352","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":240,"wires":[]},{"id":"eeb7e778.802138","type":"ui_group","z":"","name":"G1","tab":"5dec55ee.19756c","disp":true,"width":"3","collapse":false},{"id":"f62442d8.46a67","type":"ui_group","z":"","name":"G1","tab":"43bbb3c.f37894c","disp":true,"width":"3","collapse":false},{"id":"5dec55ee.19756c","type":"ui_tab","z":"","name":"Config","icon":"dashboard","disabled":false,"hidden":false},{"id":"43bbb3c.f37894c","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":6,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![lenny1972](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lenny1972/32/13210_2.png) [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Post date:** [3 January 2020 16:54 UTC](https://discourse.nodered.org/t/can-i-hide-a-whole-tab/6154/10 "2020-01-03T16:54:07Z")

</div>

Thanks for your feedback Andrei. I had to upgrade the dashboard plug-in in order to have it working.
