# Empty table from Data Source

**URL:** https://community.thunkable.com/t/empty-table-from-data-source/565416
**Category:** Questions about Thunkable X
**Created:** [May 12, 2020, 9:57pm UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416 "2020-05-12T21:57:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![yrimbaud](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@yrimbaud](https://community.thunkable.com/u/yrimbaud)
#### Post date: [May 12, 2020, 9:57pm UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/1 "2020-05-12T21:57:34Z")

</div>

Hi,

It is pretty easy to add a new row to a table. However, I am struggling to find a way to empty / remove all rows from a table.

I tried to create a function that is going through all rows and replace the current value by an empty text :

 ![Screenshot 2020-05-12 at 23.55.01](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/7483fe2e6fbdbe642acb41a14b6d40dd60dc01a9.png)

It does not seem to work. I would be grateful if you could help me!

Thanks.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 12, 2020, 10:06pm UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/2 "2020-05-12T22:06:08Z")

</div>

Good thought. Unfortunately to overwrite a row with these blocks you need to know the rowID. Not the row#

---

<div class="post-metadata">

### Author: ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://community.thunkable.com/u/Steven)
#### Post date: [May 12, 2020, 11:05pm UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/3 "2020-05-12T23:05:58Z")

</div>

We are currently working on implementing a block to allow you to delete individual items from your data sources. I’m not sure if we have one to clear all data on the roadmap but feel free to open a github ticket and we will be sure to look into it.

> **[thunkable/thunkable-issues](https://github.com/thunkable/thunkable-issues/issues)**
>
> Contribute to thunkable/thunkable-issues development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![yrimbaud](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@yrimbaud](https://community.thunkable.com/u/yrimbaud)
#### Post date: [May 13, 2020, 9:45am UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/4 "2020-05-13T09:45:12Z")

</div>

Thank you Steven! I will open a ticket on GitHub.

Without this feature, I can’t use my own API to provide content to the data viewer list.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 13, 2020, 1:11pm UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/5 "2020-05-13T13:11:04Z")

</div>

You probably can with the help of Integromat or Somme other automation service. I can show you an example if you’d like

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:29am UTC](https://community.thunkable.com/t/empty-table-from-data-source/565416/6 "2024-11-08T11:29:12Z")

</div>


