How can I reset user selections in dashboard 2.0 table?
What do you mean by a "user selection"?
P.S Welcome to the community
the checkboxes at each row if you enable interaction
As you are new there are limits on what you can do.
Which kind of doesn't help.
If you want certain things set by default, you could inject
them with the desired values.
Or, better still, use a change
node to set the desired values and then tie all the change
node inputs to one point and have an inject
node there you click on to reset them.
Ooh, we've not had that request before, so it hasn't yet been implemented. I'm curious to understand the wider use case? Are you using the table like a form?
This is not an uncommon requirement for tables. Most people use some kind of table library for this. I was always disappointed with all of the front-end frameworks I tried because none of them implement full table edit capabilities. They allow you to create them but they typically don't have them built in so you end up doing a lot of boilerplate code just to add some simple editing capabilities.
Something I'm slowly working towards with my own front-end HTML library.
I think most table libraries allow either a checkbox or row click to select a row which you can then further process. Think Excel and how it can be used.
The @omrid01/node-red-dashboard-2-table-tabulator
node is based on the Tabulator
JS package, and as such supports row selection/deselection (either by clicking the row or sending select/deselect commands), as well a getSelected
command.
It also supports in-cell editing on the UI.