-
Notifications
You must be signed in to change notification settings - Fork 266
Description
Is your feature request related to a problem? Please describe.
Tables are the heart of low coding and having as much JS access to them is critical. I was surprised to see that we cannot change the table selection.
Describe the solution you'd like
Add a JS function to the table component:
setSelectionWithIndex( [0,4,5] ). It should be able to also take a NULL to clear the selection, and a single number to select a single row
setSelectionWithID( ["my_id_1", "my_id_2", "my_id_5" ] ). It should be able to also take a NULL to clear the selection, and a single number to select a single row
Describe alternatives you've considered
Any alternatives are very ugly and hacky.
Additional context
This is useful in many contexts and I have seen multiple request it in discord. A common ui use case would be to have a table of "contacts". Then a button that "Adds New Contact". This would append a record to the contact db, refresh the table, and then select the newly created contact, rather than potentially not even seeing it on the refresh.