Hi,

i have a QSortFilterProxyModel and i'd like to add some rows and columns, but only in the proxy model.

For example, i have 6 rows and 4 columns and i want to add an additional column with data not from the source model.

I've already reimplemented rowCount, columnCount and data. The QTableView shows the correct count of rows and columns but there is not data in the "virtual" column. I found out, that the QModelIndex rage in data() is only from column 0 to 3, but never comes to column 4.

What else do i have to do, to get the additional column(s)?

Thank you.

Regards,
Mani