# List View update

**URL:** https://community.thunkable.com/t/list-view-update/1658130
**Category:** Questions about Thunkable X
**Created:** [December 21, 2021, 9:48am UTC](https://community.thunkable.com/t/list-view-update/1658130 "2021-12-21T09:48:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [December 21, 2021, 9:48am UTC](https://community.thunkable.com/t/list-view-update/1658130/1 "2021-12-21T09:48:12Z")

</div>

Ho la seguente esigenza  
da un elenco di oggetti presente su Google Sheets, tramite ListView seleziono un numero indefinito di oggetti,  
dopo aver selezionato l’oggetto, bisogna o rimuoverlo dalla lista, oppure cambiare il tipo di “Colore/Carattere” o, come nell’esempio nel link sotto riportato, lasciare la spunta, senza poterlo riselezionare.  
Nel frattempo deve popolare un altro elenco, con gli oggetti precedentemente selezionati.

È possibile fare in modo che, utilizzando la stessa applicazione su più dispositivi, l’elenco venga aggiornato in tempo reale, senza stravolgere l’elenco primario?

Could you help me with some examples?!!

[https://x.thunkable.com/copy/a71be67943b02a9fe4e5f540ac63b0a9](https://x.thunkable.com/copy/a71be67943b02a9fe4e5f540ac63b0a9)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 10:03am UTC](https://community.thunkable.com/t/list-view-update/1658130/2 "2021-12-21T10:03:28Z")

</div>

See this Error

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

I cannot check your app because of this error.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [December 21, 2021, 10:18am UTC](https://community.thunkable.com/t/list-view-update/1658130/3 "2021-12-21T10:18:51Z")

</div>

[https://x.thunkable.com/copy/e086a624b32a798a8f771c3393738b79](https://x.thunkable.com/copy/e086a624b32a798a8f771c3393738b79)

[https://docs.google.com/spreadsheets/d/1AkS6JGmmcPecQclnkKhQpv8QPuAaj5QKyY5E2cf3QDo/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1AkS6JGmmcPecQclnkKhQpv8QPuAaj5QKyY5E2cf3QDo/edit?usp=sharing)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 10:22am UTC](https://community.thunkable.com/t/list-view-update/1658130/4 "2021-12-21T10:22:43Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/d/2d3537b5123c04d877a78c73ee0ef8df5f7ab682.png)

Please make your Google sheet shareable. Currently it is private.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [December 21, 2021, 10:27am UTC](https://community.thunkable.com/t/list-view-update/1658130/5 "2021-12-21T10:27:34Z")

</div>

Done

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 21, 2021, 10:51am UTC](https://community.thunkable.com/t/list-view-update/1658130/6 "2021-12-21T10:51:15Z")

</div>

Try this.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/3679a58127ea168eecf0bfb48daadab218513a59.png)

When you click on any item from the upper list it will move to lower list.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [December 26, 2021, 10:25am UTC](https://community.thunkable.com/t/list-view-update/1658130/7 "2021-12-26T10:25:39Z")

</div>

The solution you have proposed to me is simple and interesting.  
I would like to know if the choice can be shared in real time with other users, so that multiple users cannot choose the same “objects”.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [December 26, 2021, 11:15am UTC](https://community.thunkable.com/t/list-view-update/1658130/8 "2021-12-26T11:15:12Z")

</div>

Of course you can try. The top list is taken from a `Data Source` which is shared by every user using the app but the bottom list is an `app variable` which is created in the phone memory only and not shared with others.

If you want the selected list to be saved then you can create a `Local Table` or use `stored variable` so that when you save the list to the table/stored variable it will be **local** to the phone only and not shared with anyone else.

**[Edit]**

If you want the selected object by one user not to be again selected by another user then maybe you can add another column in your main list table. This column can be names, for example, **selected**.

When the user selects an object from the top list you first check if the **selected** column is true then tell the use this object is already selected,  
If the **selected** column is false then change it to true and add this object to the bottom list.

This is just a suggestion.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 9, 2022, 11:46am UTC](https://community.thunkable.com/t/list-view-update/1658130/9 "2022-01-09T11:46:30Z")

</div>

Hello!  
I did a test project  
as you advised me.  
But I have a problem  
Selecting the Team that I have to create / modify, look for the Team members in google sheet and insert them in the “List\_Employee\_Select”.  
In the text box “Txt\_Employee\_Serch” I enter the name (by entering the second letter the names appear) ((Works in Live Test, it does not work on the smartphone)), clicking on the name checks if the name has already been entered and opens an alert window that indicates if present in a different Team or if it has already been inserted in the same Team, otherwise it inserts the object in “List\_Employee\_Select” and updates the google sheet, adding the Team (it does not work if the cell is empty, I have to fill the cell with a “-”, is there any way to make it work even if the cell is empty?).

The problem is that inserting the object in “Txt\_Employee\_Serch” The “index” takes the first row as a number, how can I get around this problem?

[https://x.thunkable.com/copy/f7810c21e1b833d68edaf24afe034dfa](https://x.thunkable.com/copy/f7810c21e1b833d68edaf24afe034dfa)

[https://docs.google.com/spreadsheets/d/1AkS6JGmmcPecQclnkKhQpv8QPuAaj5QKyY5E2cf3QDo/edit#gid=0](https://docs.google.com/spreadsheets/d/1AkS6JGmmcPecQclnkKhQpv8QPuAaj5QKyY5E2cf3QDo/edit#gid=0)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 9, 2022, 1:17pm UTC](https://community.thunkable.com/t/list-view-update/1658130/10 "2022-01-09T13:17:54Z")

</div>

Change the screen block from `Opens` to `Starts` and it will work from the phone

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/c/4c34bc77eb71cee8e266763d016ed35cb2425a6d.png)

Is `List_Team` a list or a text variable?

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 9, 2022, 1:33pm UTC](https://community.thunkable.com/t/list-view-update/1658130/11 "2022-01-09T13:33:27Z")

</div>

Changing from Opens to Start It works from the phone  
why?

List\_Team = text variable  
ListTeam = List

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 9, 2022, 1:37pm UTC](https://community.thunkable.com/t/list-view-update/1658130/12 "2022-01-09T13:37:59Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d473c377a009ca41596b7923de072170944cd453.png)

See this. The one marked with red.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 9, 2022, 1:56pm UTC](https://community.thunkable.com/t/list-view-update/1658130/13 "2022-01-09T13:56:23Z")

</div>

my mistake,  
I changed the block, it’s probably better that way  
to clear the list when the team changes

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/9/0979c753f531747f9f5e4e3c0018652d97360442.png)

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 9, 2022, 10:17pm UTC](https://community.thunkable.com/t/list-view-update/1658130/14 "2022-01-09T22:17:17Z")

</div>

I modified the “List\_Employee\_Total” block, to retrieve the “index” row number of the selected object, I used the “Serch\_Impegna” function, can you speed it up?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/4/f48fa322e15fd3fdd283c7abe742be25aec344e0.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: [January 9, 2022, 10:44pm UTC](https://community.thunkable.com/t/list-view-update/1658130/15 "2022-01-09T22:44:05Z")

</div>

I haven’t been following this discussion but the fact that you are using a `get value` block within a loop is probably going to slow things down a little. You could instead use the `list of values` block right before the loop to assign all of the values in that column to a list variable. And then just get the list item # `app variable Conta` inside of the loop.

**Edit:** Sorry, I didn’t notice the break out of loop block at first. It’s only going to get the value once so never mind!

What about instead of a loop, just using the “find first occurrence of” block in the List drawer? Not sure if that’s much faster but maybe.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 10, 2022, 8:47am UTC](https://community.thunkable.com/t/list-view-update/1658130/16 "2022-01-10T08:47:52Z")

</div>

> [@tatiang](#):
>
> What about instead of a loop, just using the “find first occurrence of” block in the List drawer? Not sure if that’s much fast but maybe.

Could you give me an example?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 10, 2022, 9:05am UTC](https://community.thunkable.com/t/list-view-update/1658130/17 "2022-01-10T09:05:51Z")

</div>

> [@dimaurosalvo19717s1y](#):
>
> give me an example

This provides the same result but without loop

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/541540c7e2669652b61b2e3e932c2ccef99c5377.png)

However, if you want to use a specific letter case (upper or lower) then you have to use a loop.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 10, 2022, 10:43am UTC](https://community.thunkable.com/t/list-view-update/1658130/18 "2022-01-10T10:43:05Z")

</div>

When I insert the name of the object in the text box, I believe it returns the first row (probably because filtering the list the list view returns the value 1 in the index)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 10, 2022, 11:04am UTC](https://community.thunkable.com/t/list-view-update/1658130/19 "2022-01-10T11:04:35Z")

</div>

I made a mistake in the blocks for the `get value` to return the name while it is already given.

It should be this way

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

However, this will not work for partial names. It has to have full name (it depends on exact search) otherwise you need to resort to the loop to accomplish partial searches.

---

<div class="post-metadata">

### Author: ![dimaurosalvo19717s1y](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dimaurosalvo19717s1y](https://community.thunkable.com/u/dimaurosalvo19717s1y)
#### Post date: [January 10, 2022, 11:21am UTC](https://community.thunkable.com/t/list-view-update/1658130/20 "2022-01-10T11:21:36Z")

</div>

Thanks I had already noticed the small inaccuracy,  
But when I enter the object name in the text box, I think it always returns the first row (probably because filtering the list the list view returns the value 1 in the index)

which I get by doing the search for the name and giving the variable count the row number

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

[Next page](https://community.thunkable.com/t/list-view-update/1658130.md?page=2)
