# Push button - Delete context of a column

**URL:** <https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638>\
**Category:** Ask the Community\
**Created:** [February 14, 2023, 3:41pm UTC](https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638 "2023-02-14T15:41:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asaf\_Chip](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/asaf_chip/32/31509_2.png) [@Asaf\_Chip](https://connect.superhuman.com/u/Asaf_Chip)\
**Post date:** [February 14, 2023, 3:41pm UTC](https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638/1 "2023-02-14T15:41:44Z")

</div>

Hello !  
So I have a column I wish to have a button that allows me to empty the context of a specific column.  
I tried the formula - DeleteRows(thisRow.photo) \*photo is the name of the column

But encountred : “Invalid arguments passed to DeleteRow [object Object]” though in the formula I does not mark any problems

---

<div class="post-metadata">

**Author:** ![Scott\_Collier-Weir](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/scott_collier-weir/32/29677_2.png) [@Scott\_Collier-Weir](https://connect.superhuman.com/u/Scott_Collier-Weir)\
**Post date:** [February 14, 2023, 3:44pm UTC](https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638/2 "2023-02-14T15:44:09Z")

</div>

DeleteRows() always takes an entire row as an argument and permanently deleted an entire row.

If you want to keep the row, but essentially erase the photo columns value, you use ModifyRows(), and set the value of your target column to “” -

Two quotation marks with no spaces inbetween represents a blank value.

---

<div class="post-metadata">

**Author:** ![Asaf\_Chip](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/asaf_chip/32/31509_2.png) [@Asaf\_Chip](https://connect.superhuman.com/u/Asaf_Chip)\
**Post date:** [February 14, 2023, 4:27pm UTC](https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638/3 "2023-02-14T16:27:20Z")

</div>

Awesome @Scott_Collier-Weir !  
Thanks once again, works perfectly!

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/system/32/24484_2.png) [@system](https://connect.superhuman.com/u/system)\
**Post date:** [May 15, 2023, 4:27pm UTC](https://connect.superhuman.com/t/push-button-delete-context-of-a-column/37638/4 "2023-05-15T16:27:32Z")

</div>

Closed on May 15, 2023, 4:27pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
