populating ControlList takes veeeryyyy loooong time
Opened this issue · 1 comments
As populating a ControlList with a few thousands of lines, each with a few columns (it works the same with single columns), my UI hangs for some long minutes before getting responsive again.
Here is sample code to reproduce
my_list.value = [[x] for x in range(5000) ]
By Reading QT forums, I went on the following topic about performance issues with QTableWidget.
https://bugreports.qt.io/browse/QTBUG-57848
Is it possible to disable resizecolumn by default instead of enabling it ?
Or at least, use QT's ResizeToContents only upon content insertion complete when mass replacing value ?
Hi,
When creating the ControlList, you can pass resizecolumns=False
as an argument and that should take care of what you are after.
Please let me know if you were able to do it or if you need further assistance.