node-red-dashboard
node-red-dashboard copied to clipboard
Add an Insert mode to the dashboard2 ui-table node.
Description
Currently, the ui-table node offers "Append" and "Replace" as the "Action" value.
It would be handy to have an "Insert" option to insert new data at the top of the table.
This is useful for time based or history data where you want the latest/newest entry to be on top of the table.
Which customers would this be available to
None
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
I am not sure if I placed the issue at the right repository. The idea is to have this feature in the open source edition.
@mbalmer I've moved this over to the dashboard repo
Thanks Ben. @mbalmer There is a large idea here whereby the table can be assigned an "index" column. Tables would demand "index" column is unique. If not, it'll replace the existing value.
In your case though, particular for timestamp, "Append" I'm fairly sure is still appropriate? If the sorting is such that the timestamp is in reverse order, then the latest entry should show at the top?
Good morning!
Thanks Ben. @mbalmer https://github.com/mbalmer There is a large idea here whereby the table can be assigned an "index" column. Tables would demand "index" column is unique. If not, it'll replace the existing value. In your case though, particular for timestamp, "Append" I'm fairly sure is still appropriate? If the sorting is such that the timestamp is in reverse order, then the latest entry should show at the top?
Yes exactly, the table should grow from top to bottom, adding the latest entry at the top and shifting the rest downwards.