Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Fixed Column in QTreeview
Hello.
I've created a Qtreeview with a large number of columns and I'd like the first one (which is a header for the rows) to be fixed when the user scrolls the treeview contents.
I was able to implement this feature by exchanging the first column with the first column in the viewport each time the scrollbar value changes, but it doesn't work very well.
Is there an easy way to keep the first column always in the first position, even when the contents are scrolled ?
Thanks in advance,
Rodrigo