[Qt-interest] QTableView/QSqlTableModel: how to set order of columns in header ?
Stephen Collyer
scollyer at netspinner.co.uk
Fri May 15 21:57:35 CEST 2009
I am populating a QTableView from a QSqlTableModel. I am selecting
a set of columns in the model, which we can call A, B, C, D.
I want to have the columns displayed by the view in the order
C, B, A, D from left to right. Can anyone suggest how I can do this ?
I can't see anything in the maze of table/view classes that allow this
to be done.
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090515/5c80c263/attachment.html
More information about the Qt-interest-old
mailing list