Why is column pinning not supported in QTreeView or QTableView?
Unsolved
General and Desktop
-
The question is self-explanatory. I had to do elaborate gymnastics and lot of trial and error to be able to pin first n columns so that the next m columns can be scrolled horizontally and required to do for both QTableView (at least had an example, but was not correctly working for item selection) and QTreeView (no example, lots of trial and error).
Also, item selection was a mess and had to re-implement certain things to make it work (and it still doesn't feel right). So, why does this feature require one to use multiple view with stacking under? Is there a fundamental limitation which prevents from implementing column pinning directly?