PDA

View Full Version : Merging of header in QTableWidget



Kishor Gupta
14th September 2017, 03:50
Hi all,
I am new to QT technology.
I am trying to merge two header in QTableWidget as shown in attachment.
Please suggest me the best way to do this and do let me know if it is not possible.

12578

d_stranz
15th September 2017, 16:46
I do not think you can do this using a standard QTableWidget / QHeaderView. You are basically asking for the header to span two columns, where the table columns don't. You can set the column span for the table, but the header doesn't have the equivalent function.