cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

use value of one cell of selectedRow in a grid (filled by an infotable)

Spiff
6-Contributor

use value of one cell of selectedRow in a grid (filled by an infotable)

Hi,

 

I am trying to start a Thing service by doubleclicking a row in an advanced grid using the DoubleClicked event. The value of one cell of this row should be used as input parameter for the service.

 

I can't get it to work, tried different ways including using SeletedRows as input infotable for the service and giving out the result as string to a label. The label will be replaced by a red exclamation mark triangle. In my understanding, the SelectedRows infotable is always a one row infotable with the same datashape content of the origin infotable, correct?

for example:

var result=inputinfotable.rows[0].value1

 

I wanted to have a look at the example here but the changed files can't be imported into our Thingworx server.

https://community.ptc.com/t5/ThingWorx-Developers/Selected-Rows-Values-are-not-available-from-Infotable-property/td-p/526846

 

Any help would be appreciated.

Thanks!

David

 

0 REPLIES 0
Top Tags