hi
is there a function which gets all header-columns?
or does anybody know how the QSqlTableModel gets the header-data?
thanks
hi
is there a function which gets all header-columns?
or does anybody know how the QSqlTableModel gets the header-data?
thanks
QSqlQueryModel::headerData()
It asks the database, but the queries depend on the database you use (unless it supports the standard information_schema schema).does anybody know how the QSqlTableModel gets the header-data?
QSqlQueryModel::record() or QSqlDatabase::record() and QSqlRecord::fieldName() might be helpful.
Bookmarks