Add dynamicaly elements

Hi,

Is it possible to add dynamically (in a dashboard tab) different components at runtime, based on different criteria/values?

For eg. I have 10 IoTs sensors defined (in a list or db table) ...so I want 10 charts to be generated!
next day I'll add 2 more in that list/table ... so 2 more charts to be generated (added) in this dashboard.

(fetching data is not important here)

Thank you,

That is not possible with the Node-RED Dashboard.

However, you can use the ui_template node and use AngularJS (which Dashboard is based upon) to dynamically create content at runtime in there. Basic understanding of HTML and AngularJS is necessary, of course.

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