# How can i get or print selected id when i double click the selected row in the Power Table?

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-get-or-print-selected-id-when-i-double-click-the-selected-row-in-the-power-table/39653>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [October 14, 2020, 6:41am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-or-print-selected-id-when-i-double-click-the-selected-row-in-the-power-table/39653 "2020-10-14T06:41:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent.canda](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vincent.canda](https://forum.inductiveautomation.com/u/vincent.canda)\
**Post date:** [October 14, 2020, 6:41am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-or-print-selected-id-when-i-double-click-the-selected-row-in-the-power-table/39653/1 "2020-10-14T06:41:35Z")

</div>

I want to get the ID of the selected rows in the power table using extension function (double click).  
Reference:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8be3eab7e19315c3c5e06287b95c625b0e1f26ab.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/4/e411dfb3f9b6c9e28ea494feeb880d3e061a50d4.png)

Thank you,

---

<div class="post-metadata">

**Author:** ![sreed7164](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sreed7164](https://forum.inductiveautomation.com/u/sreed7164)\
**Post date:** [October 14, 2020, 10:28am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-or-print-selected-id-when-i-double-click-the-selected-row-in-the-power-table/39653/2 "2020-10-14T10:28:22Z")

</div>

For a single row it should be something like this;  
`ticketId = self.data.getValueAt(rowIndex,'tbl_id')`

---

<div class="post-metadata">

**Author:** ![vincent.canda](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vincent.canda](https://forum.inductiveautomation.com/u/vincent.canda)\
**Post date:** [October 16, 2020, 6:21am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-or-print-selected-id-when-i-double-click-the-selected-row-in-the-power-table/39653/3 "2020-10-16T06:21:51Z")

</div>

Thanks sir 😀
