# Double click power table navigation along-with parameter

**URL:** <https://forum.inductiveautomation.com/t/double-click-power-table-navigation-along-with-parameter/55150>\
**Category:** Ignition\
**Tags:** ignition79, vision, scripting\
**Created:** [January 19, 2022, 5:01am UTC](https://forum.inductiveautomation.com/t/double-click-power-table-navigation-along-with-parameter/55150 "2022-01-19T05:01:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham\_shekhar](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@shubham\_shekhar](https://forum.inductiveautomation.com/u/shubham_shekhar)\
**Post date:** [January 19, 2022, 5:01am UTC](https://forum.inductiveautomation.com/t/double-click-power-table-navigation-along-with-parameter/55150/1 "2022-01-19T05:01:55Z")

</div>

Hello,

want to use double click extension function to navigate to a window using the parameter to pass through along with one other parameter to from root window but not able to pass the parameter available from which navigation needs to happen.

I tried the code in the power table double click extension function:

Def Ondoubleclick(self, rowindex, colIndex, ColName,Value,event):#not working  
parma1= value  
param2= event.source.parent.Station\_ID #from template properties)  
system.na.swapto(‘Windows2’,{‘SerialNum’:param1, ‘StnID’: param2})

Def Ondoubleclick(self, rowindex, colIndex, ColName,Value,event):#working fine  
parma1= value  
system.na.swapto(‘Windows2’,{‘SerialNum’:param1})

Can anyone help to why that’s not working…?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 19, 2022, 1:23pm UTC](https://forum.inductiveautomation.com/t/double-click-power-table-navigation-along-with-parameter/55150/2 "2022-01-19T13:23:13Z")

</div>

Extension functions don’t have the `event` variable. (Copy and pasted from elsewhere?) Use `self.parent.Station_ID`.

---

<div class="post-metadata">

**Author:** ![shubham\_shekhar](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@shubham\_shekhar](https://forum.inductiveautomation.com/u/shubham_shekhar)\
**Post date:** [January 20, 2022, 5:23am UTC](https://forum.inductiveautomation.com/t/double-click-power-table-navigation-along-with-parameter/55150/3 "2022-01-20T05:23:41Z")

</div>

Thanks, @pturmel. Already came up with that solution but this helps a lot.
