# Action buttons inside table component

**URL:** <https://forum.inductiveautomation.com/t/action-buttons-inside-table-component/51714>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [October 7, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/action-buttons-inside-table-component/51714 "2021-10-07T17:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [October 7, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/action-buttons-inside-table-component/51714/1 "2021-10-07T17:58:02Z")

</div>

I have seen a decent share of tables having edit/delete buttons in each row for interfacing. Does anybody have any best practices or ways they solved this need? Anything would be appreciated! TIA

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [October 7, 2021, 7:38pm UTC](https://forum.inductiveautomation.com/t/action-buttons-inside-table-component/51714/2 "2021-10-07T19:38:05Z")

</div>

If I’m correct, the best way is creating a dataset, or using a table that displays a database query.

The buttons update/insert/delete database table which then populates to your visual table.

[https://docs.inductiveautomation.com/display/DOC81/Updating+the+Database+through+the+Power+Table](https://docs.inductiveautomation.com/display/DOC81/Updating+the+Database+through+the+Power+Table)

---

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [October 7, 2021, 9:38pm UTC](https://forum.inductiveautomation.com/t/action-buttons-inside-table-component/51714/3 "2021-10-07T21:38:26Z")

</div>

The linked page in the manual from the post above is specifically for Vision’s Power Table component. I am going to assume OP is referring to Perspective’s Table component instead, based on the thread’s associated tags.

I think the answer to the question depends largely on what data is in the table and what the expected action of a button in a row would be. If the goal is to have those buttons manipulate the values in the table’s props.data property then [this thread](https://forum.inductiveautomation.com/t/perspective-table-dynamic-column-viewparams-per-row/34657) might help you get a few ideas. It specifically covers displaying information in a cell rendered as an embedded view as well as interacting with a dropdown component within the embedded view, but the principle could just as easily apply to an embedded view with a button as well.
