combo box in Header of QTableWidget
hi everyone,
can anyone say me how to insert a combo box in the header of a table. i searched in the net and the docs and i found that we can only add the widgets to tht table through setCellWidget and not in the header of the table.
can anyone provide me any suggestion or solutions for this ?
thanks in advance,
saravanan.
Re: combo box in Header of QTableWidget
What did you try so far?
QHeaderView is not a full-featured item view, which means you cannot use index widgets, editors or anything like that. I'm afraid you will have to keep the widget in the right location on your own. QHeaderView provides plenty of information about section geometries and their changes so it shouldn't be a problem.