Get row-col value from dynamically populated grid widget and pass it as a input to another service?
- August 14, 2021
- 1 reply
- 1803 views
I have an asset that has several properties (image1)
lastConnection
latestRegistrationDate
managedDevices
etc....
managedDevices is a infotable containing several other values.
What I am doing is populating several labels and a grid within my mashup using a service (MyAsset is a parameter that allows me to dynamically load different assets):
var result = Things[MyAsset].GetPropertyValues();
So I have something like (image2)
This works, now I want to extract the selected row-col value from that grid and pass this value as a parameter to navigation input so I can navigate to other Mashup when I double click a row of the grid.
I have two columns in the grid (image3)
name
looupId
I want to extract the lookupId value of the selected row
One idea I tried to implement was to call a service when double clicking the row (image4)
and after the service call ends I execute the navigation passing the parameter I need from the result of service call. But I had no success
I would expect to solve this setting the corresponding DataShape to the grid widget but I don't know how to do it, and also don't know if that will facilitate the binding the selected row-col value possibility
Could you please suggest how to solve this?
Anyone?
