Delete data in Table view


Good evening everyone
I want when I click the delete button to empty the table of data. Below is the code I used to create the table.

Thank you in advance

This is screen table view:

delete the particular row using index method from global variable and re create the table

See in this video I have called the data from gsheet as CSV , created the table and upon clicking particular item of table which is deleted and re-created the table

image

Simple blocks part

App Response
ezgif.com-gif-maker

If you dont want the header to remove mean use this condition
image

1 Like

Thank you very much for your help.
I think my idea did not reach you well. The idea is as follows:
I have a button that I want when I click on it, all the data from the table is deleted, meaning all lines are deleted with the click of a button.

Then on button click set the table datastring to create empty list

Simple… all will be cleared

1 Like

Thank you so much.
The problem has been solved this way.
Thanks for help.

1 Like