How do I create a delete all button?

I have created an action that does 'data: execute action on set of rows'. And it is set to delete.

I have set referenced rows to FILTER("my_tab_name", TRUE).

Now how do I create a button that displays on the view of my_tab_name that deletes all its records (IE runs this action)?

Solved Solved
0 5 538
1 ACCEPTED SOLUTION

In Behaviour, go to your action, scroll down to Appearance --> Prominence, and choose to display the action: Prominently or Overlay. The button will appear. 

While in Appearance you can also choose the button's icon and display name. 

View solution in original post

5 REPLIES 5

In Behaviour, go to your action, scroll down to Appearance --> Prominence, and choose to display the action: Prominently or Overlay. The button will appear. 

While in Appearance you can also choose the button's icon and display name. 

Hello Joseph,
I am facing the same problem but the proposed solution does not work.

I put a button to export and it works fine, but when I put a button to delete it doesn't appear. I send the image to better understand.
The delete button should appear above the export button


delete button doesn't appear.delete button doesn't appear.button to export  appears and works finebutton to export appears and works fine

 

The delete and similar actions operate on a specific row or a set of rows. When in a table view, your action does not show because AppSheet wouldn't know on which rows this action would be executed. 

If for example you use the selection button on the top right, and select one or more rows, the action will be enabled and upon clicking it, it will execute on the selected rows. 

Ok.. I understood

But Is there any way to create a delete all button on this screen?

Are you sure you want to give users that option?

Top Labels in this Space