Set table view header vertically
Added by Chandana Kumara almost 9 years ago
I want to set part of the table header vertically and part of table header horizontally.
I attached image for more clarification.
Also I tried with this:-
tableModel.setHeaderData(i,Orientation.Vertical,project.getName());
But it does not work.
Pls send answer as soon as possible.
Tableview.png (22.8 KB) Tableview.png |
Replies (2)
RE: Set table view header vertically - Added by Wim Dumon almost 9 years ago
You can do that by setting the item delegate for the header (setHeaderItemDelegate) and create a widget that renders the vertical/horizontal combo as in the screenshot you provided.
Wim.
RE: Set table view header vertically - Added by Chandana Kumara almost 9 years ago
Thank you for your answer. I solved my problem according to your answer.