# Adding Data to Dashboard dynamically

**URL:** <https://discourse.nodered.org/t/adding-data-to-dashboard-dynamically/67541>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [10 September 2022 05:44 UTC](https://discourse.nodered.org/t/adding-data-to-dashboard-dynamically/67541 "2022-09-10T05:44:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roadfox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/roadfox/32/67596_2.png) [@roadfox](https://discourse.nodered.org/u/roadfox)\
**Post date:** [10 September 2022 05:44 UTC](https://discourse.nodered.org/t/adding-data-to-dashboard-dynamically/67541/1 "2022-09-10T05:44:12Z")

</div>

Hi

I get data from an yet unknown amount of sensors. The data is then convertet to a table with the help nod-red-contrib-tableify. This works great.

I have now

```auto
msg: {
  payload: with html table
  devId: xxxx
}

```

What i would like to have now is a dashbaord which shows the tables of ALL devId's no matter what i try i only get the last message sent

this is my last try:

```auto
<div layout="row" layout-align="space-between">
  <div id="{{'devId_'+$msg.devId}}" ng-bind-html="msg.payload"></div>
</div>

```

is there a way to add or ubdate only a section with devId and leave the others?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [10 September 2022 08:49 UTC](https://discourse.nodered.org/t/adding-data-to-dashboard-dynamically/67541/2 "2022-09-10T08:49:05Z")

</div>

I think you would have to redo the html table and feed it back into the ui-dashboard.  
Have you had a look at ui-table which will take an array of data to create a table, and you can send it data to updata changed data only

> **[node-red-node-ui-table](https://flows.nodered.org/node/node-red-node-ui-table)**
>
> Table UI widget node for Node-RED Dashboard

and table data handler  
[https://flows.nodered.org/flow/35d0480ce9151b2a722fa9d185a37825](https://flows.nodered.org/flow/35d0480ce9151b2a722fa9d185a37825)

---

<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:** [10 October 2022 08:49 UTC](https://discourse.nodered.org/t/adding-data-to-dashboard-dynamically/67541/3 "2022-10-10T08:49:19Z")

</div>

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