Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Fix items at the top of QTreeWidget
clementNg last edited by
How can I set some fix items at the top of QTreeWidget?
When I scroll the treeWidget, those items would always be at the top.
For example, I have 5 items. First two items would be fixed at the top and the other three items would follow the scroll action.
How can I do that? Thank you very much.
Bonnie last edited by Bonnie
Hmmm....I don't think that's possible...
You can likely take inspiration from the Frozen Column example.
Its not directly supported so the trick is to use 2 tree widgets as the
sample @SGaist links to.
Its not perfect but workable.