How can i change Data viewer's datasource or table by code?

Hi @Lorenzo_Rinaldi,

This isn’t quite possible. I haven’t been keeping up very much with the progress of this component, though there is a topic created on the Data Viewer in community, you might get some luck with an answer there.

Another place to try having a look is Thunkable GitHub. If you see the feature requested, give it a +1 or a comment saying you’d like this too, or if you don’t see it you could create a feature request :slight_smile:

A temporary solution to this for you could be to use cloning and have all the data in one spreadsheet (sort it by a tag). This is kind of like a DIY list, which you have full control over. It is slightly more limited than a real list as sometimes when cloning a lot of items, lag may occur, so be weary of that. This would only work with Airtable or the in-app Local-DB, as Google Sheets is currently exclusive to the Data Viewers.

2 Likes