Local Table Data Source

Overview

When a data source powers your app, you can continuously update your app contents without having to republish it. It allows you to build a dynamic app that can create, read, update, and delete data. This doc covers creating a local table as the data source.

Video Tutorial

How to Create a Local Table Data Source in Your Thunkable App

In this tutorial, we’ll create a local table data source in a Thunkable app and display the data.

Create a Local Data Source

To create your own table as a data source:

  1. Click the data icon in the left side panel to access your data source library.

  2. Click the plus sign at the top of the panel.

  3. You can select from previously added data sources or add a new data source. Click Create New.

  4. Select Create your own table.

  5. Give your local data source table a name.

  6. Click Create.

  7. To add data to your local table, copy and paste it from another source or click into a cell and type to input the data.

  8. To modify the table's columns:

    • To update the table’s column headers, click their names and type a new header name.

    • To add additional columns, click the + New Column button.

    • To delete columns, click the x in the column’s title box.

  9. To modify the table's rows:

    • To add additional rows, with your cursor in the bottom row, press your keyboard’s enter or return key.

    • To delete a row, right-click on it and select Remove row.

  10. Select your preferred storage option:

    • App Data Source - If the data is changed while the app is open, the table's data resets when a user of your app closes and reopens the app. This reduces the time it takes for the app to load on the user's device.

    • Stored Data Source - If the data is changed while the app is open, the table's data persists when a user closes and reopens the app.

  11. When your table is complete, click the X in the upper right.

  12. The newly created local data source is now listed in your project's list of data sources.

    • Click the pencil icon to rename the data source.

    • Click the data source's name to review and edit the data.

    • Click the trash can icon to delete the data source from your project.

Display the Data in Your App

Once you've connected a data source, you can display the data in your app with a data viewer component. Learn more about data viewer components here:

pageData Viewer Components


Have feedback on this doc? Please take a moment to share your feedback here: Thunkable Docs Feedback. Your valuable insights will help us improve and better serve you in the future.

Last updated