Project

General

Profile

Actions

Bug #848

open

Very large collections and WTableView - no rows displayed

Added by Anonymous almost 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/05/2011
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Anonymous almost 13 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

Actions #2

Updated by Wim Dumon almost 13 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.

Actions

Also available in: Atom PDF