Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
scrollTo in QTreeView is not working
Peramsetty last edited by
I have a QmodelIndex (currindex), i want to scrollTo that index in QTreeView programatically? I used scrollTo in TreeView but it is not getting scroll to that modelIndex in view but if I press down arrow it is indeed on the row i want. but vertical scroll is not updated properly. please share any code snippets?
Can you share a minimal sample code that reproduces this behavior ?