I thought this would be akin to a reset of the table, what does this thing do? It doesn’t show up in the docs or these forums.
Hi! When you have a row already selected in the table, the “Show a button to clear selection” option enables a “clear selection” button on the bottom of the table, which de-selects the selected row. LMK if that makes sense? Thanks!
if i a want to run the script on “Clear Selection” Button. How do i Achieve this?
Hello @hello (that tag gets me every time),
There isn’t trigger that you can directly connect to the action, but when you clear the selection the tableName.selectedRow.index property does change. If “select first row” by default for the table is enabled, you would know the selection has been cleared whenever that property is “null”:
What kind of script would you want to react to that change?
I enabled " Select Multiple Rows".
So After Selecting Multiple Rows, I am storing the data in below text component.
On clicking the clear selection
Table rows are getting cleared, But in the same time i want to clear the below text component as well.
So i want to run query on clicking the clear selection button.
@hello What is the text component below the table displaying? Could you show us the settings there?