This is something thats always bothered me about the hierarchical views.

If you have view.setRootIsDecorated(true) set, the hierarchy of the model is represented by indenting the first column and adding dashed lines (like in all tree views).

The problem occurs when you re-order the columns. If you move the very first column over it still displays the root decoration (even though it's no longer the column farthest to the left). I'd like it so that whichever column is displayed as the first column shows the root decoration/indentation.

How can I go about doing this?

Is this because its using the logical index instead of the visual index? Or is there a decoration role I can change in my model to do this?

Thanks,

Matt