Hello,

I'd like to set additional data for a table I acquire from an SQL server.

Looking at the code of QSqlTableModel::setData(), it looks like it just ignores any role other than EditRole (it passes it to QSqlQueryModel, down to QAbstractItemModel, which does nothing).

Is there any other way to set data for individual cells in the model?

Thanks.