Table updates #7291
-
Hi, I want to periodically check for updates from a query for a table. But when I have a script running updates in the background the table wipes all data and shows no data for a split second. Is there a way to make this look seemless? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @cmcclung-ANGENG 👋 For example, if you have a PostgreSQL query named |
Beta Was this translation helpful? Give feedback.
-
Thanks that's looking good now :) |
Beta Was this translation helpful? Give feedback.
Hey @cmcclung-ANGENG 👋
Edit the table properties, and set the
loading state
of the table. When the loading state is enabled, a loading indicator will be displayed on the table instead of an empty view.For example, if you have a PostgreSQL query named
postgres1
that is used to populate the table, go to the loading state property of the table - click on theFx
and set it to{{queries.postgres1.isLoading}}