Skip to main content
1-Visitor
July 29, 2016
Question

When we select a row in a grid then the details of that row should be saved as property of a thing and be auto populated in a form which is displayed on selecting a row. How to implement this.

  • July 29, 2016
  • 2 replies
  • 5087 views

on selecting a row in a infotable the details of that row should be auto populated  in a form and displayed in a pop up mashup.

2 replies

5-Regular Member
July 29, 2016

Hi Priyanshi, you could use the Selected Row(s) method of a service within the Mashup so that once you make a selection in a Grid  the data will be displayed or passed on to another entity be it a simple value display box or text input box within a form, see an e.g. below.

Note this will not "save" the selected data - this you will have to handle next by triggering a service to store that data to either an external database or a datatable

psaxena1-VisitorAuthor
1-Visitor
July 29, 2016

We tried binding a parameter of selected row to a textbox in a contained mashup but its not happening.

5-Regular Member
July 29, 2016

Could you share more detail on how you are binding the data? Is the Grid itself getting the data correctly? Here's a service flow from the e.g. i shared in my last post

psaxena1-VisitorAuthor
1-Visitor
July 29, 2016

I have displayed an infotable in a grid and then that selected row data should be displayed in form attributes.

5-Regular Member
July 29, 2016

Priyanshi, could you please share exact detail on how you are trying to achieve this so I better understand the situation you have at your end and why it may not be working for you right now. Are the Grid and Form both existing on same Mashup or do you have separate Mashups for them?