PDA

View Full Version : is it possible to split a particular collumn into subcollumn in table widget?



aurora
20th February 2012, 08:35
I have a table widget...
Is it possible to create sub column inside a particular column when we clicked on that column header?

7416

Lykurg
20th February 2012, 08:42
What do you mean? I don't get you.

aurora
20th February 2012, 08:45
please see this image....
7417

ChrisW67
20th February 2012, 09:12
Why do you think that repeating the same image is going to make it clearer?

As far as I can see there is no way in the out-of-the-box QHeaderView to have the section header span multiple columns of the QTableView.

aurora
20th February 2012, 09:17
Is it possible to insert multiple column inside a single column?

Lykurg
20th February 2012, 09:59
Why do you think that repeating the same image is going to make it clearer?The image was added after my reply...

There is a exapmle on qt-apps.org about spanning a header over multiple columns. You can get some inspiration from there. Basically it is simple adding a new column and spanning the header.