# How to send table row data to other view using onRowClick event of table

**URL:** <https://forum.inductiveautomation.com/t/how-to-send-table-row-data-to-other-view-using-onrowclick-event-of-table/33041>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [March 12, 2020, 1:24pm UTC](https://forum.inductiveautomation.com/t/how-to-send-table-row-data-to-other-view-using-onrowclick-event-of-table/33041 "2020-03-12T13:24:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mori.luca](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mori.luca/32/13424_2.png) [@mori.luca](https://forum.inductiveautomation.com/u/mori.luca)\
**Post date:** [March 13, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/how-to-send-table-row-data-to-other-view-using-onrowclick-event-of-table/33041/2 "2020-03-13T14:56:52Z")

</div>

Hi @ptchanchal,  
You can see here how to pass parameter to a pop up.  
[https://docs.inductiveautomation.com/display/DOC80/Popup+Windows](https://docs.inductiveautomation.com/display/DOC80/Popup+Windows)

Once you have your parameter inside the pop up, you can perform your CRUD,  
then when you finish you may consider to use the function  
system.db.refresh()  
[https://docs.inductiveautomation.com/display/DOC79/system.db.refresh](https://docs.inductiveautomation.com/display/DOC79/system.db.refresh)  
to update your table and show up your changes.

Grab your selected row elements from the table :

> [@Using values in selected Row](http://forum.inductiveautomation.com/t/using-values-in-selected-row/6874/2):
>
> table = event.source.parent.getComponent(“Table”) selRow = table.getSelectedRow() selCol = table.getSelectedColumn() data = data.getValueAt(selRow, selCol)

If you like to pass parameters from script :

```auto
window = system.nav.openWindow('TestPopUp', {'Int' : 40})
system.nav.centerWindow(window)

```

here we are opening a pop up called "TestPopUp", passing parameter as a Dict.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-send-table-row-data-to-other-view-using-onrowclick-event-of-table/33041)._
