node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Add rows to `ui-table` without Array structure

Open ZJvandeWeg opened this issue 2 years ago • 2 comments

Description

Say I have a table with 2 column: foo and bar, I'd like to inject a structure to add one row to the table like:

msg.payload =

{
    "foo": 1,
    "bar": 2
}

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

ZJvandeWeg avatar Oct 09 '23 19:10 ZJvandeWeg

I may even extend this as far as saying something like having _remove: true would be a way of removing such an entry too, which is the Cloudant/CouchDB model.

joepavitt avatar Oct 10 '23 08:10 joepavitt

We should copy the approach used in ui-chart now whereby we have an "Action" option which is "Append" or "Replace".

joepavitt avatar Mar 16 '24 14:03 joepavitt