# Data\_Viewer\_List row\_id

**URL:** https://community.thunkable.com/t/data-viewer-list-row-id/997049
**Category:** Questions about Thunkable X
**Created:** [November 25, 2020, 12:47am UTC](https://community.thunkable.com/t/data-viewer-list-row-id/997049 "2020-11-25T00:47:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Wolber](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/david_wolber/32/117458_2.png) [@David\_Wolber](https://community.thunkable.com/u/David_Wolber)
#### Post date: [November 25, 2020, 12:47am UTC](https://community.thunkable.com/t/data-viewer-list-row-id/997049/1 "2020-11-25T00:47:40Z")

</div>

I want to allow the user to choose an item in a Data\_Viewer\_List, go to a new screen for more info on that item, then be able to click “Next” to navigate through rows in Google spreadsheet.

It appears the row\_id in the Data\_Viewere\_List.ItemClick is a long text string instead of just the row # in the cell (e.g. 4). Is there no method of getting data from the next row once you are on a particular row. This image shows what I want to do to navigate from one “row” to the next

Maybe Thunkable can covert the row ids so that they are indeed consecutive:

 ![Screen Shot 2020-11-24 at 4.45.31 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92b832ca54eff54a72ebadd62b6df36037e948f4.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 25, 2020, 1:39am UTC](https://community.thunkable.com/t/data-viewer-list-row-id/997049/2 "2020-11-25T01:39:22Z")

</div>

**First screen:**

 ![Screen Shot 2020-11-24 at 5.38.05 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44d90e71222a7a0bdf1a6d9b895eb8cdab86c0f9.png)

**Second screen:**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/aeffe6e066308865823f83e026d195df155a11a8.png)

**Google Sheet data:**

 ![Screen Shot 2020-11-24 at 5.37.40 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/f/dfa161dc8269cabd42ce3305fedc6613004e1f00.png)

Another way to advance through a series of numbers sequentially and reset back to 1 is to use the _mod_ math function (or in Thunkable, the remainder function).

As an example if you are on the 5th row out of 9 total rows and you click the next button, the value of “app current item num” gets set to (the remainder of 5/9)+1 which equals 5+1 which equals 6. If you’re on the 9th (and final) row, the value of “app current item num” gets set to (the remainder of 9/9)+1 which equals 0+1 which equals 1.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/data-viewer-list-row-id/997049/3 "2024-11-08T12:21:28Z")

</div>


