I am able to make a simple text area using the Template UI Node where I can place debug messages, etc. However, I want it to auto scroll to the last item that was added.
What's the solution to making a debug text box that auto scrolls using the Template node?
Thanks...
I'm looking for something that I can use in the NR Dashboard, and is simple, not a huge flow.
Thanks
Those 2 solutions are for node-red dashboard.
Perhaps using ui-table?
This flow can display a log (use the limiter mod in the following post too)
So something like a logfile ....
This is using a little bit more complex (but universal) subflow I use for all my tables.
But you can do it more simple too:
A) a function node which gets an array (of lines) from the flow context and pushes the new line at the end
B) a second function node triggered by ui-control gets the same context array and send it to ui-table
I splittend it up to different nodes to make it easier to understand / debug - The tricky part is to scroll the table if you in…
system
Closed
5 November 2021 05:05
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.