Is there any way to solve serious delays when using flet-datatable2 on flet>=0.70.0? #5694
Unanswered
Creeper19472
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I noticed that Flet-datatable2 has severe lags and delays when displaying large amounts of data compared to its performance on Flet==0.28.3.
While troubleshooting this issue, I noticed that when flet-datatable2 was running on Flet==0.70.0.dev6268 and logging.basicConfig(level=logging.DEBUG) was set, the debug logs showed a large number of errors such as
, but not on flet==0.28.3.
In the code pasted below,
self.entries_countis set to 100, which means that 100 entries will be displayed in the DataTable at a time. According to the test, this will cause the interface to lag for 0.4 seconds, which is much longer than the 0.02 seconds when no entries are displayed.flet-datatable2==0.1.0 running on flet==0.28.3, flet-datatable2==0.2.0 running on flet==0.70.0.dev6268. I would like to ask if anyone has any good way to solve this problem?
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions