# Delete all rows in a table?

**URL:** <https://community.glideapps.com/t/delete-all-rows-in-a-table/39178>\
**Category:** Ask for Help\
**Created:** [March 3, 2022, 7:15am UTC](https://community.glideapps.com/t/delete-all-rows-in-a-table/39178 "2022-03-03T07:15:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 3, 2022, 12:51pm UTC](https://community.glideapps.com/t/delete-all-rows-in-a-table/39178/2 "2022-03-03T12:51:28Z")

</div>

I think I would approach the problem differently. Instead of writing a bunch of rows and then deleting them, I would do all of the work in the list of items, and have another table relate to those items to summarize them. Better to read through this and look at this example. It’s a shopping cart style app, but does the same thing and allows you to clear the cart instantly, or edit your selections and quantities.

> [@Shopping Cart Concept for demonstration purposes](https://community.glideapps.com/t/shopping-cart-concept-for-demonstration-purposes/33264):
>
> First of all, I want to say that I’m personally not a big fan of ecommerce type apps with Glide. There’s a lot of complexity to them and everybody has a different view for how they should work. Because of that, I generally don’t give advice on how to do things with them. Glide has said that ecommerce is not the direction they are focused on and I think Glide is short on some logic and functionality to properly handle the purchase and inventory side of things. With that said, I still made an …

The shopping cart was designed around the same concept of resetting multiple rows at once, but it also handles quantity as well.

> [@Reset Multiple Rows At Once](https://community.glideapps.com/t/reset-multiple-rows-at-once/22211):
>
> There have been several requests for people to find a way to clear a value in multiple rows. I was thinking about that and came up with a quick example of a way to handle that. Instead of trying to clear a value in an entire column, I realized we could just change one value on a parent column, load it as a single value in our sheet and then compare that parent value to a column that we set or unset for each row. It’s not about clearing an entire column, it’s about making a value in each row n…

---

_[View the full topic](https://community.glideapps.com/t/delete-all-rows-in-a-table/39178)._
