# How can I hide data in data viewer?

**URL:** <https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702>\
**Category:** Questions about Thunkable X\
**Created:** [August 29, 2024, 12:46pm UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702 "2024-08-29T12:46:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joemoukarzel88skm4pi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/joemoukarzel88skm4pi/32/185210_2.png) [@joemoukarzel88skm4pi](https://community.thunkable.com/u/joemoukarzel88skm4pi)\
**Post date:** [August 29, 2024, 12:46pm UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702/1 "2024-08-29T12:46:28Z")

</div>

Hi,  
I’m having a bit of trouble with the data viewer. I don’t want it to display all the data, just the data for the selected rows.  
I would like it to remain invisible until the data is selected. However, whenever i make it visible, it proceeds to show me all the data. I know for sure that the row selection mechanism is working as I’m able to change the background colour for the data selected.  
I’m wondering how I can make it only display the data i select  
Thanks in advance

 ![ques](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/7/771f4ebafca18d8cdddd7481349b6d361052a85c.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:** [August 30, 2024, 2:03am UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702/2 "2024-08-30T02:03:07Z")

</div>

You need a loop here:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/9548ff2b48cfa8e824c3407daf85f5370da499ca.png)

Because you’ve asked Thunkable to hide the Title and Description for a list but that’s not possible. You can only change the property of one component at a time. So you need to loop through the IDs like you do below that and hide each component using a variable for the row id (e.g. j).

---

<div class="post-metadata">

**Author:** ![joemoukarzel88skm4pi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/joemoukarzel88skm4pi/32/185210_2.png) [@joemoukarzel88skm4pi](https://community.thunkable.com/u/joemoukarzel88skm4pi)\
**Post date:** [August 30, 2024, 2:19am UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702/3 "2024-08-30T02:19:03Z")

</div>

Thanks for that! This worked to make the layout wrapper invisible when screen opens. However, when the rows are selected, I am not being able to make the selected rows visible.

 ![reppp](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/71e4589e6d86aca63188c2e6cf467d90628b2419.png)

The row selection mechanism definitely works as I was able to change color of selected rows before.

---

<div class="post-metadata">

**Author:** ![joemoukarzel88skm4pi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/joemoukarzel88skm4pi/32/185210_2.png) [@joemoukarzel88skm4pi](https://community.thunkable.com/u/joemoukarzel88skm4pi)\
**Post date:** [August 30, 2024, 5:47am UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702/4 "2024-08-30T05:47:37Z")

</div>

![solllll](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0cc48840d499df1de8037b6e0595f1abd93a60c3.png)  
I didn’t want to solve it this way, but I created a new data source “selected”. The selected rows copy to it, and the Data Viewer displays the rows.  
I’m not sure if that’s the most elegant solution, but that’s the only way I could get it working.

---

<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:** [November 28, 2024, 5:47am UTC](https://community.thunkable.com/t/how-can-i-hide-data-in-data-viewer/3165702/5 "2024-11-28T05:47:48Z")

</div>

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