# Row ID with Data List Viewers

**URL:** <https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923>\
**Category:** Questions about Thunkable X\
**Created:** [September 28, 2024, 10:11pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923 "2024-09-28T22:11:25Z")\
**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:** [September 28, 2024, 10:11pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923/1 "2024-09-28T22:11:25Z")

</div>

How do you do this:  
I have a data viewer connected to a Google sheet. I want the blocks to be like:  
When dataListViewer item.click:  
If row Id=1  
then…  
else if row id =2  
then…

it doesn’t seem to work for me.

---

<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:** [September 29, 2024, 5:42pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923/2 "2024-09-29T17:42:17Z")

</div>

anyone?

---

<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:** [September 29, 2024, 10:06pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923/3 "2024-09-29T22:06:04Z")

</div>

Typically when using a Data Viewer List, you would use this block:

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

And then use a data source block that requires a row id to get data from your data source.

Can you say more about what you’re wanting to do and how your data is organized?

---

<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:** [September 29, 2024, 10:06pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923/4 "2024-09-29T22:06:52Z")

</div>

hi i figured it out, thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 28, 2024, 10:07pm UTC](https://community.thunkable.com/t/row-id-with-data-list-viewers/3234923/5 "2024-12-28T22:07:06Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
