Hi,

you can use index.row() and index.column().

If you want to return "default" values you return
Qt Code:
  1. return QSqlQueryModel(or the base class of your model)::data(index, role)
To copy to clipboard, switch view to plain text mode