Trying for force display of QTableWidget horizontal header
-
Qt 6.5 I'm trying to get QTableWidget to display the column headers even if there's no data to display.
I tried to follow the advice given by VRonin in this post:
https://forum.qt.io/post/470163
but found two problems:
-
ensurePolished() didn't seem to be a valid thing to call from that code.
-
The column headers were still not displayed
What's the current advice to get this to work please?
Thanks
David -
-
Qt 6.5 I'm trying to get QTableWidget to display the column headers even if there's no data to display.
I tried to follow the advice given by VRonin in this post:
https://forum.qt.io/post/470163
but found two problems:
-
ensurePolished() didn't seem to be a valid thing to call from that code.
-
The column headers were still not displayed
What's the current advice to get this to work please?
Thanks
David -
-
P Perdrix has marked this topic as solved on