PDA

View Full Version : Fixed (Freeze) column in QTableWidget



chatarpal
4th February 2009, 13:29
How can i set fixed (Freeze) columns (say first and second column) of a QTableWidget, so if i scroll those columns are always visible?
Like we have Freeze column in MS-EXCEL.

jpn
4th February 2009, 16:18
You can put two table widgets right next to each other.

ZaurK
19th January 2012, 06:39
Is there another way to freeze columns without putting two table widgets, but with one one?

Spitfire
20th January 2012, 14:52
There's an qt example (http://developer.qt.nokia.com/doc/qt-4.8/itemviews-frozencolumn.html) how to do that.
I hope that helps.

ZaurK
21st January 2012, 06:03
I've seen that example, but i need less hacky way to make frozen column.