Hi,
I am using a qtableview with a model to display data, a lot of data
I implemented the data(const QModelIndex &index, int role) function but it looks like this function is called a lot: (size of each item in Qt::ItemDataRole enum) * number of items in my model which is the way it's apparently set up in Qt.
but for example if I scroll down to show only one morerow the data function is called again on each item of my model instead of only for the new items in the row I am just showing
Anyway to cache it or something?
Thank you
Bookmarks