# Targeted row deletion via button action

**URL:** https://community.glideapps.com/t/targeted-row-deletion-via-button-action/45006
**Category:** Ask for Help
**Created:** [July 22, 2022, 6:35am UTC](https://community.glideapps.com/t/targeted-row-deletion-via-button-action/45006 "2022-07-22T06:35:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [July 22, 2022, 6:42am UTC](https://community.glideapps.com/t/targeted-row-deletion-via-button-action/45006/2 "2022-07-22T06:42:52Z")

</div>

> [@Martin\_B](#):
>
> Do we have any mean to target a precise row to delete, without using row owner ? It’s a past Row, so not in the bottom of the table.

Yes, you can do this by creating a single relation to the row in question, and then use a delete row action through that relation. If you take a look at my [custom forms concept app](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014), I use this technique to limit the number of rows (every time a row is added, one is removed).

> [@Martin\_B](#):
>
> Furthermore, is it essential to have row owner de-activated in users table to use the “1:1 private chat app template” ? Or there is a workaround ?

I’m not familiar with the template, but just in general - if you wanted to retain row owners in your User Profiles, what you would need to do is create a read-only view of your user profiles table with a minimal set of columns, and refer to this with your 1:1 chat. This is easy to do if you are using a Google Spreadsheet as a data source, otherwise it could be a challenge.

---

_[View the full topic](https://community.glideapps.com/t/targeted-row-deletion-via-button-action/45006)._
