# Dashboard hide and show

**URL:** <https://discourse.nodered.org/t/dashboard-hide-and-show/21848>\
**Category:** Dashboard\
**Created:** [17 February 2020 12:38 UTC](https://discourse.nodered.org/t/dashboard-hide-and-show/21848 "2020-02-17T12:38:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pvklink](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Post date:** [17 February 2020 12:38 UTC](https://discourse.nodered.org/t/dashboard-hide-and-show/21848/1 "2020-02-17T12:38:47Z")

</div>

Hi made a simple button HIDE with a payload to hide a tab..  
Cant get it to work..  
In the end the hide button must be a toggle button, hide/ show

See my attachments

 ![Naamloos2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/8/38e072f03b3e4c76e44cee6971ff7b7509b349cf.jpeg)

 ![Naamloos](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dcc05f861ba78693fbd73344d92532e6286b76e5.png)

flow

```auto
[{"id":"f3fa38e1.3683e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"46062d38.1ed1a4","type":"ui_ui_control","z":"f3fa38e1.3683e","name":"browser","events":"all","x":340,"y":200,"wires":[[]]},{"id":"29fa925f.37865e","type":"debug","z":"f3fa38e1.3683e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":330,"y":100,"wires":[]},{"id":"b0a57b0b.111258","type":"ui_button","z":"f3fa38e1.3683e","name":"MNU HIDE","group":"e3c1dba9.5039a8","order":30,"width":3,"height":"1","passthru":false,"label":"HIDE","tooltip":"","color":"","bgcolor":"","icon":"","payload":"{\"tabs\":{\"hide\":\"CAMERAS\"}}","payloadType":"json","topic":"","x":130,"y":200,"wires":[["46062d38.1ed1a4","29fa925f.37865e"]]},{"id":"e3c1dba9.5039a8","type":"ui_group","z":"","name":"BEHEEROMGEVING ","tab":"ee7d12b5.222e4","order":1,"disp":true,"width":14,"collapse":true},{"id":"ee7d12b5.222e4","type":"ui_tab","z":"","name":"BEHEEROMGEVING DOMOTICA","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
type or paste code here

```

---

<div class="post-metadata">

**Author:** ![pvklink](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Post date:** [17 February 2020 12:54 UTC](https://discourse.nodered.org/t/dashboard-hide-and-show/21848/2 "2020-02-17T12:54:59Z")

</div>

Solved the first part myself..  
Looks much better, i can switch groups on or off

I changed the content off the button to {"group":{"hide":["BEHEEROMGEVING\_DOMOTICA\_CAMERAS"]}} for the button , and now it works !

Last thing to do, i need a little bit of help:

1. How to let individual items hide and show, like "number off days: dutch: aantal dagen)

 ![Naamloos](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/733ac881a6bfe0c8ce632aee0d31422460c0e304.jpeg)

---

<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:** [2 March 2020 12:55 UTC](https://discourse.nodered.org/t/dashboard-hide-and-show/21848/3 "2020-03-02T12:55:01Z")

</div>

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