# Auto-generate dashboard groups?

**URL:** <https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864>\
**Category:** Dashboard\
**Created:** [13 June 2022 13:09 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864 "2022-06-13T13:09:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [13 June 2022 13:09 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/1 "2022-06-13T13:09:39Z")

</div>

I have a generic dashboard group to display values:  
 ![Schermata 2022-06-13 alle 15.07.30](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bcda09cca7da1a8c7154ac0de8b4df63ff4e2603.png)

I need to generate `n` groups dynamically, from the flow. I understand it cannot be done with standard dashboard rules, but maybe with an ui\_template?

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [13 June 2022 15:07 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/2 "2022-06-13T15:07:37Z")

</div>

How about displaying the data in a table ?

---

<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:** [13 June 2022 15:41 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/3 "2022-06-13T15:41:46Z")

</div>

You could use a template to hold several "groups" of things you create eg using ng-repeat - but they won't be a ui-group (well the ui-template will be in a ui-group - but only the one.)

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [13 June 2022 16:19 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/4 "2022-06-13T16:19:12Z")

</div>

> [@Sean-McG](#):
>
> How about displaying the data in a table ?

Yes, it could be an option, as the last chance, the problem is that the table will be just a loooong 6-units group, while several distinct groups will be placed dynamically on the screen.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [13 June 2022 17:06 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/5 "2022-06-13T17:06:03Z")

</div>

Are you actually using the features of Dashboard or are you up for writing a little front-end code?

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [13 June 2022 17:49 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/6 "2022-06-13T17:49:14Z")

</div>

I already have 12 Dashboard tabs, full of groups, so I can’t move to ui-builder just for this one. Anyway I am certainly available to write a little front-end code, if needed.

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [13 June 2022 19:47 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/7 "2022-06-13T19:47:51Z")

</div>

> [@Sean-McG](#):
>
> How about displaying the data in a table ?

At the end, I opted for a table. Thanks

 ![Schermata 2022-06-13 alle 21.46.24](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/6/f6dc8fd39b71723ab3af2c3b9e7a1ac32f7f4645.jpeg)

---

<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:** [13 June 2022 22:08 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/8 "2022-06-13T22:08:16Z")

</div>

PS it’s MQTT

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [14 June 2022 01:11 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/9 "2022-06-14T01:11:07Z")

</div>

I adapted @Christian-Me remote device table to do something similar -

> [@\[Announce\] remote device table (and collaboration wanted)](https://discourse.nodered.org/t/announce-remote-device-table-and-collaboration-wanted/22505):
>
> Hello after a lot of work (perhaps too much work) I like to share my first beta version of a flow to display the status of remote devices on the dashboard. It is always good to have an eye on your sensors and actuators especially when they are connected wireless or battery powered. The flow first developed around my homie-convention-node but soon I decided to make it more versatile because I have devices around the house which not support the homie convention. [teaser] Currently supported are…

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/eeb4801207263ea4f59dead4388f0a126c8a6fa6.png)

---

<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:** [28 June 2022 01:11 UTC](https://discourse.nodered.org/t/auto-generate-dashboard-groups/63864/10 "2022-06-28T01:11:12Z")

</div>

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