Skip to main content
1-Visitor
January 2, 2019
Solved

How to select a rows from Table/Grid ,and send value to another sevice?

  • January 2, 2019
  • 8 replies
  • 10530 views

Hello,

 

I am printing some rows on mashup in Grid with 4 columns.

I want to select a row from grid and send a particular value of a column to another service after clicking on that row.

 

How can I achive this?

 

 

Example:-

I am displaying Windchill part information on grid, i.e.  Name,number, version, State.

Their are multiple row on grid.

when I select a particular row ,  the number column value should be send to the service and that service should get executed.

 

I have got solution for this using double click, but I want this on single click.  Also every grid does not show selected Row option.

 

Please Help.

 

 

Best answer by PaiChung

If the service that is populating the Grid has a datashape assigned, then you will have Selected Row(s) and Selected Row Changed event available to you, those you can use for what you want to accomplish

8 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
January 2, 2019

If the service that is populating the Grid has a datashape assigned, then you will have Selected Row(s) and Selected Row Changed event available to you, those you can use for what you want to accomplish

1-Visitor
January 3, 2019

@PaiChung

@PaiChung

Thank you so much !

 

I have one more Issue now, I want to select multiple row and display each Image related to that row. 

 

 

I have attached the sample to this reply , which shows how my output should be like.

 

1-Visitor
January 3, 2019

Just allow multi-select on the Grid, and bind Selected Rows to a service that returns the Infotable with the images an other information.

 

For the right panel (the one with images and other widgets) use a Repeater widget with the output of the previous service.