Welcome to Thunkable. As you are coming from MIT App Inventor let me first go over how to link your Google sheet to your Thunkable project.
Thunkable has TWO development platforms; StP (Snap to Place) also called Legacy UI and DnD (Drag and Drop). How to connect an external data table is the same. I will use the new platform DnD but whatever step I take will have a similar, if not exactly the same, in the other UI.
Start by selecting the
Then click “+” as indicated in the image
If you have already connected your Google sheet then selected from already connected data sources otherwise click on Create New
Choose Google sheets from the next screen
You can then click on Select a Sheet
At this stage you would have completed the connection to the spreadsheet and you can see it listed as one of the
Data Sources for the project
Now, using the Google sheet table in the app can be done in TWO different ways
- Using DVL (Data Viewer List)
Just add a DVL in the screen and then bind the DVL to whatever column in your table and a list view will be automatically created. The list view of the DVL can list number of columns not only a single column.
In this demonstration, we will use only a single column “names” as in the image.
And this is how it would be displayed by the app.
Now, the coding side.
This is the only code you need to show the number once the user clicks on any of the names.
- Using simple
With this method we use the simple list viewer and feed it the names from the google sheet using a block in the
Data Sources drawer in the
We will need to use this block when the screen opens and then we use a similar block as above to display the number of the selected name.
Here is the output of the second method
Hope this clarifies the steps to reproduce your list.