scrollTo in QTreeView is not working
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 ?