Refresh Data In Template Repeater

I have a template repeater with template rows that form a table. I requery the data on a timer and would like to refresh the list to show any changes that have been made to the data. So far the only way I have been able to do this is like so:

table.templateParams = None table.templateParams = newData
But this causes the table to blink because all of the data is being reloaded.

Is there a way to refresh the data without clearing it first? Or to redraw / repaint the table without the blink?

Thanks!

There is a built in function called system.db.refresh() which forces a SQL query or DB browse binding to update immediately. Try running that function with your template repeater’s templateParams property. Refer to the manual for more details on its use.

2 Likes