Bug #848
openVery large collections and WTableView - no rows displayed
0%
Description
Hi Guys,
I have collections with millions of items that I wish to display in a WTableView. When the collection gets large, the table suddenly stops displaying any rows - there are not scrollbars but the column headers are there. For smaller tables (hundreds of thousands of items) my code works just fine.
Even when no data is displayed, my code to get data is invoked correctly (I am subclassing WAbstractListModel), so I suspect that this is actually browser issue. When using Chrome, I determined that a table with 6710000 rows displayed fine while a table with 6715000 rows displayed nothing. With IE8 it failed at some higher number of rows closer to 10 million.
Perhaps there is numerical overflow calculating scrollbar positions or something similar?
I am using 3.1.7.a on Windows.
Cheers,
Dan
Updated by Anonymous over 12 years ago
I determined that with Chrome, 6710886 rows is fine while 6710887 is not. The cut off may to be related to (232)/640... weird...
Cheers,
Dan
Updated by Wim Dumon over 12 years ago
You've probably reached the max height of a div in the browser. We'll have to try to find a method to work around this.