I am using my own ItemModel where each item presents as row and it's data in shows in cells. Cells count depends from item data size. Each byte of item data in one cell.
Item data size ~ 10000
Items count = rows count ~ 1000000
Im reading items from file on the fly and store in memory only vivible part of the table.
It slows down perfomance, but not so critical as painting and scrolling
As i wrote earlier. I tested QTableView with empty ItemModel, where data() method always returns empty QVariant, and table scrolling was not so fast, as, for example, program from QT3 special example with reimplemented QTable millionXmillion
I suppose that problem in new complex Model/View architecture ...
Small example: main.cpp
Compare prefofmance with .... MS Excel for example![]()
Bookmarks