Reputation: 206
I have a dataSet of person.
Is it possible to iterate and add label and dynamic text from dataSet in this format.
Name: John
Address : This is an exemple
Others label/text
Name: Alex
Address : This is an exemple
Others label/text
And so on.
Thanks.
Upvotes: 0
Views: 896
Reputation: 2668
You can use a list item instead of the table item. Bind the list item to the data set (just as you would do with a table item). Then, inside the list item's detail area, create a grid item, say 2 cols x 3 rows. You can that add your labels (static texts) like "Name:" to the cells in the left column and the data items to the right column of the grid.
Upvotes: 0