Accessing data from a Grid created from REST service data
Hi,
I have a rest service that is mapped to several elements in a grid.
So if I read 10 database records, I get 10 rows of data display (each row contains around 5 label objects that are filled with the data.
If a user clicks on one of these rows, I need to save the data to local storage variables,
How do I address the individual rows to get at, for example the fourth row of data?
My grid is called grid1 - this has the $ mapped to it.
The grid has 2 columns and on each row of the grid, there are 6 components that receive data, 5 are labels, 1 is a button.
eg
-------------------------|.image1..| button1 |
|...............| label1 |
|.............. | label2 |
|...............| label3 |
|...............| label4 |
|...............| label5 |
What I need to know is how I reach the 4th row of data returned?
eg
var result = Appery("label1").text() - but for the 4th row returned?
regards
Andy