Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.1
-
27c254203b3e7dd6d3a4445feb205fbe98c32d30 (qt/qtdeclarative/dev) 6d852a7e65d56519f1d73cd853430946f5526f8e (qt/qtdeclarative/6.0) 1241e4f3c3ec010ae121f5d56c3e9405ec43231f (qt/qtdeclarative/5.15)
Description
If HorizontalHeaderView is used in conjunction with Tableview and c++-QAbstractTableModel the header should be driven by headerData() of the model. That works fine except if the rowCount of the model becomes 0. In that case, the header is not shown at all.
The horizontal header should be shown unless the columnCount is 0, please refer to the attached sample.
Attachments
Issue Links
- is duplicated by
-
QTBUG-88555 HorizontalHeaderView not shown when TableView is empty
- Reported
For Gerrit Dashboard: QTBUG-87526 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
320698,3 | Show a tableview even if the syncView has an empty model | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
326170,2 | Show a tableview even if the syncView has an empty model | 6.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
326171,2 | Show a tableview even if the syncView has an empty model | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |