I have just downloaded newest release Xojo2024R2, it looks like the WebListBox control with DataSource is showing data from Postgres database very quickly - this is very good. I have added code to cache row count for the query I pass to the TableDataSource.SetQuery, this makes the RowCount access database only when I send new query eliminating issue of open queries when scrolling up/down. However, I have just noticed that there are still issues.
My query returns large number of records, over 150K, so when I scroll up and down quickly I get to the point when the list gets blank. I am on Mac M1 using Safari and I use regular mouse with the wheel. I notice this issue when I drag down/up vertical scrollbar and follow by moving mouse wheel. The list box gets blank, the vertical scrollbar disappears. I can click the button to re-run the query and the list will populate.
So, with so much improvement there seems still to be an issue.
I am sorry for reporting this what appears to be a bug, perhaps someone can confirm. I think, the key to replication is to use backend database with large data set returned.
5 posts - 3 participants