# How can I reset user selections in dashboard 2.0 table?

**URL:** <https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895>\
**Category:** FlowFuse\
**Tags:** dashboard-2\
**Created:** [4 November 2024 08:14 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895 "2024-11-04T08:14:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![18802496555](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/18802496555/32/96102_2.png) [@18802496555](https://discourse.nodered.org/u/18802496555)\
**Post date:** [4 November 2024 08:14 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/1 "2024-11-04T08:14:15Z")

</div>

How can I reset user selections in dashboard 2.0 table?

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 November 2024 15:58 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/2 "2024-11-04T15:58:18Z")

</div>

What do you mean by a "user selection"?

P.S Welcome to the community

---

<div class="post-metadata">

**Author:** ![18802496555](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/18802496555/32/96102_2.png) [@18802496555](https://discourse.nodered.org/u/18802496555)\
**Post date:** [4 November 2024 23:42 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/3 "2024-11-04T23:42:48Z")

</div>

the checkboxes at each row if you enable interaction

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [5 November 2024 08:04 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/4 "2024-11-05T08:04:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 November 2024 09:19 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/5 "2024-11-05T09:19:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 November 2024 09:39 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/6 "2024-11-05T09:39:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)\
**Post date:** [5 November 2024 11:13 UTC](https://discourse.nodered.org/t/how-can-i-reset-user-selections-in-dashboard-2-0-table/92895/7 "2024-11-05T11:13:28Z")

</div>

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.
