openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Auto Refresh widgets

Open MichalisDBA opened this issue 2 years ago • 2 comments

Because setInterval and setTimeout is disabled, would be good to create an auto refresh option to widgets.

For example we have a table that shows data from a sql query and want to continue refresh it so we can have near live statistics updates.

This or enable setInterval and setTimeout functions.

MichalisDBA avatar Nov 15 '22 11:11 MichalisDBA

In the advanced tab of an auto-trigger query, there is an auto refresh setting. It may solve your problem.

hanshuai avatar Nov 15 '22 12:11 hanshuai

Currently this setting is a static checkbox, we'll make it dynamic.

hanshuai avatar Nov 15 '22 12:11 hanshuai

Screen Shot 2022-12-07 at 4 14 42 PM We found that it's more convenient if this feature is disabled when the "period" field is invalid. For now, you can use a sufficiently large period as a workaround.

hanshuai avatar Dec 07 '22 08:12 hanshuai

Hi @MichalisDBA ,

In latest release you can set a value less than 100 to disable periodical execution. image

neon-balcony avatar Dec 14 '22 09:12 neon-balcony