Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to hide vertical header but show horizontal header in QTableView
pcsagan last edited by
I'm trying to hide the vertical header but show the horizontal header of a QTableView.
Calling view->horizontalHeader()->hide() hides both horizontal and vertical headers.
Calling view->verticalHeader()->hide() hides both horizontal and vertical headers.
How do I hide just the horizontal header and show the vertical header? Thanks
Can you share how you are setting up your view ?
Which version of Qt are you using ? On which platform ?