# Get row id from data list viewer without clicking

**URL:** <https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770>\
**Category:** Issues / Bugs\
**Created:** [February 28, 2025, 3:38am UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770 "2025-02-28T03:38:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsappdev](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nsappdev](https://community.thunkable.com/u/nsappdev)\
**Post date:** [February 28, 2025, 3:38am UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770/1 "2025-02-28T03:38:51Z")

</div>

How would i get the row ID for this? I set an invisible value in my custom data viewer so I can set a label to one of the values in my data viewer. i am doing this so that I can live update the values from a google sheet (air table is not an option for this one)  
how would I get the value of the first row row ID???

---

<div class="post-metadata">

**Author:** ![nsappdev](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nsappdev](https://community.thunkable.com/u/nsappdev)\
**Post date:** [March 1, 2025, 6:06pm UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770/2 "2025-03-01T18:06:23Z")

</div>

anyone anble to help or know?

---

<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:** [March 1, 2025, 7:50pm UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770/3 "2025-03-01T19:50:51Z")

</div>

You can get the first list item from the list of values block. The drop-down menu in that block for column names has a row id value. Use that.

I originally didn’t answer because I didn’t really understand the point of an invisible value and why you would need the row id. You can usually just put an integer value for the first row (1).

If you provide more context, I might have a better answer.

---

<div class="post-metadata">

**Author:** ![nsappdev](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nsappdev](https://community.thunkable.com/u/nsappdev)\
**Post date:** [March 1, 2025, 11:09pm UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770/4 "2025-03-01T23:09:23Z")

</div>

I have previously tried doing somehting like  
if row ID =1 then…  
But it doesn’t work so what i ended up doing is this  
(it is a different case)  
 ![Screenshot 2025-03-01 at 6.09.17 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/optimized/3X/5/1/5123b91502636683d09a5c9147d170162bf6b154_2_690x29.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:** [March 2, 2025, 12:09am UTC](https://community.thunkable.com/t/get-row-id-from-data-list-viewer-without-clicking/3613770/5 "2025-03-02T00:09:13Z")

</div>

What I meant by more context is to explain what you’re doing not in Thunkable terms but just as if you were describing the app to someone else who doesn’t know Thunkable. Why row 1? Why do you need that row id?

Those blocks appear to get the row id of the green `row id` block. But the green `row id` block already has that value so I’m confused why you would need those blocks at all.
