Getting data from the Collection Widget or Repeater Widget
I currently have two screens:
Screen A has a collection widget that is bound to an infotable (The infotable has two columns. IsChecked and ID. IsChecked is a boolean column for a checkbox widget and ID is an integer column for a label widget)
Screen B is a mashup that will form each row for the collection widget in A. Screen B has a checkbox and a label widget. This screen has mashup parameters, IsChecked and ID. In Screen A, a JSON object is written to pass the parameters. The collection widget in screen A is populated properly.
But, How do I get information OUT of this collection widget.
From Screen A, when the user checks the checkbox of a certain row(s), I want to be able to get that data (if it has been checked or not and the corresponding valueId for that row).
NOTE: I do not want to use the selected property on the collection widget. I need to figure out how to do it with the checkbox.
Re: Getting data from the Collection Widget or Repeater Widget
Use the checkbox on change event, together with the passed in mashup parameter that holds the id. to specifically react to an individual box.
If you want across all boxes you can take the Data from the collection widget I think (never tried this) and put that into a service to evaluate upon an external button click. (ie check some boxes, click a button)