[Qt-interest] Reordering multiple columns in a QTableVie

NoRulez norulez at me.com
Sun Apr 3 13:57:03 CEST 2011


Hi,

 

what is the best way to reorder multiple/all columns of a QTableView (~ 25
columns and more).

I already tried moveSection() on the tableview and it works for 2 – 5
columns, but for 25 columns and more this is bullshit, so I want to ask for
a better way.

I also tried an own implementation of QAbstractProxyModel but I think is
miss something, because the view doesn’t get updated.

 

Thank in advance

 

Best Regards

NoRulez

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110403/70db96cc/attachment.html 


More information about the Qt-interest-old mailing list