I have a problem with QTreeView...which I dont know is a feature or a bug.

I have a Treeview (same for treeviewWidget) with a header and 4 columns.

I add rows like:
concentrator
equipment 1
equipment 2

where row1, "concentrator" is in column 1
and row2, row3 "equipment" is in column 2 and defined with addChild to row1,

I want to make a tree very similar to file explorer...and use the sort possibility in treeview..

I have disabled wordwrap.

Now when I move column 2 towards colum1 (make column1) shorter, the text "concentrator" is cut....

How can I make the text of column1 to "spill" into column 2 so that the text is not cut..
This is a normal behaivour in spreadsheets (when wordwrap is off) but it seems impossible with treeview..

I know the alternative is to write all data in column 1, and have a second treeviewwidget with the headers...and then do all the programmning myself.

have a nice day, and thanks in advance for the replies.
Jan