Wondering how to change the title of a group in Dashbaord2. Specifically, the time of an event of the group should be updated for the title. How can this be done?
For clarity, here is the point where the change should be made.
Group names are edited in the group properties...
Sorry, my question was not detailed enough!
The change should be done with a function node not on the Editor page
let at = msg.time;
msg.ui_control = {
"group": {
"id": "351979b5d8f67a0e", // Ersetze mit der tatsächlichen ID
"name": `Wärme (${at})`
}
};
That is not currently supported
Docs: Control ui-control | Node-RED Dashboard 2.0
You could remove the group name and use a text field.
Or you could get fancy with some CSS or teleports.
There is a discussion about changing a group title here.
Thanks for the pointer. Indeed, it works (even if the solution seems a bit bizarre)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.