# \[SOLVED 3/4/24 8:21 PM EDT\] Question Regarding Custom Layouts Components

**URL:** <https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169>\
**Category:** Questions about Thunkable X\
**Created:** [March 3, 2024, 1:16pm UTC](https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169 "2024-03-03T13:16:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [March 3, 2024, 1:16pm UTC](https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169/1 "2024-03-03T13:16:38Z")

</div>

Hi Community,

![Screenshot 2024-03-03 at 6.11.07 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/5/35d18ae4f9d6899f96ee33943934dabee54fb0c4.png)  
I have added a Button in Custom Layout. when the user clicks it should show a group with values of that particular Row.  
For example, when the User hits it, it shows a text input from which the user can copy the text in that particular Row.  
 ![Screenshot 2024-03-03 at 6.15.35 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/391de0988b28d9c9ae1d168e3d0eaff3d78d2756.png)  
New rows are Created by Cloning the Primary Row.  
The Values of Texts are Saved in a Local Datasource with Component IDs also,  
Could Someone Explain and give blocks to how to do so?

Thanks

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [March 4, 2024, 8:27pm UTC](https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169/2 "2024-03-04T20:27:13Z")

</div>

The best way I can think to do this with cloning is to use the [Generic event](https://docs.thunkable.com/blocks/advanced-app-features/any-component-blocks#using-the-generic-event-block) block.

In short for this event block, you’ll want to loop through all of the clones, set an app variable for all occurrences of this icon and if that list contains the button, label, etc. the user has just clicked, do whatever action you wanting. Here is an example below I made a while back for clicking on a couple of different labels that are part of a cloned list.

 ![Screenshot 2024-03-04 at 3.23.43 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/451c6405ef6905ee708dd025d86ab66f682fd926.png)

---

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [March 5, 2024, 1:21am UTC](https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169/3 "2024-03-05T01:21:38Z")

</div>

![Screenshot 2024-03-05 at 6.49.44 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/f/9f790ae8fd8e0d79a2570ca1a030956e18d9afeb.png)  
Thanks for your Reply,  
I forgot to update it on the post that I have solved the issue,  
I figured out a way to Solve this issue, I used multiple data fields, lists, and other values which made it easy for me to do so.

Thanks

---

<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:** [June 3, 2024, 1:22am UTC](https://community.thunkable.com/t/solved-3-4-24-8-21-pm-edt-question-regarding-custom-layouts-components/2871169/4 "2024-06-03T01:22:12Z")

</div>

Closed on June 3, 2024, 1:22am UTC

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