How to scroll TreeView from application?



  • I have an itemDelegate in TreeView and I want that if it gets clicked it goes on top of screen, so I need to scroll TreeView by script in QML;
    How can it be possible? (official doc did not give an answer)



  • Solution is to control flickableitem property
    treeview1.flickableItem.contentY
    hope it will help


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.