Hi all,

I use a QStandardItemModel coupled with QColumnView to display a list of simple hierarchal tree structure. My view has 2 columns, rows on the second columns are children of a item on first column. When user select a item/row on column 1, children of that item/row will be displayed on second column. Now here comes the annoying behavior of the QColumnView: although my list has only 2 columns, whenever user click on an item of the second column, it automatically rolls further to the third column on the right (which is empty).

How do I disable this annoyed feature so that even if user click on a row in second column, the view does not automatically roll horizontally?

Thank you for all your help.