# How to add a confirmation for delete icon in Data Grid?

**URL:** <https://community.weweb.io/t/how-to-add-a-confirmation-for-delete-icon-in-data-grid/4196>\
**Category:** How do I?\
**Tags:** design\
**Created:** [September 4, 2023, 2:37pm UTC](https://community.weweb.io/t/how-to-add-a-confirmation-for-delete-icon-in-data-grid/4196 "2023-09-04T14:37:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwintan](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@edwintan](https://community.weweb.io/u/edwintan)\
**Post date:** [September 4, 2023, 2:37pm UTC](https://community.weweb.io/t/how-to-add-a-confirmation-for-delete-icon-in-data-grid/4196/1 "2023-09-04T14:37:32Z")

</div>

I am using the standard Data grid for my data table. There is a standard delete icon in the element to allow user to delete row data. However, the row data is deleted once this icon is click. How could I add a secondary confirmation delete button similarly like the validate button for edit icon?

I had tried using the Table element but had difficulties setting it up for row edit. I had watched the tutorial from Weweb academy but it is for air table but could not find any tutorial related to Xano.

Thanks in advance. I am a beginner in no-code app and just switch from [bubble.io](http://bubble.io) after trying for 2 months. Hopefully, I could achieve something from Weweb.

---

<div class="post-metadata">

**Author:** ![Himanshu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/himanshu/32/16305_2.png) [@Himanshu](https://community.weweb.io/u/Himanshu)\
**Post date:** [September 4, 2023, 3:08pm UTC](https://community.weweb.io/t/how-to-add-a-confirmation-for-delete-icon-in-data-grid/4196/2 "2023-09-04T15:08:21Z")

</div>

@edwintan On the Datagrid, there will be a workflow to delete the record. You can edit the workflow to open a modal and store the value of the selected row in a variable. When the user clicks on confirm in the modal, replicate the workflow that deletes the row.

 ![Screenshot 2023-09-04 at 8.35.45 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/75190149b9539269628ce376b53a08ca7c6dceab.png)

---

<div class="post-metadata">

**Author:** ![edwintan](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@edwintan](https://community.weweb.io/u/edwintan)\
**Post date:** [September 4, 2023, 3:46pm UTC](https://community.weweb.io/t/how-to-add-a-confirmation-for-delete-icon-in-data-grid/4196/3 "2023-09-04T15:46:51Z")

</div>

Thanks.
