Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.1, 6.2.4
-
None
Description
If I defined columns in a TableModel, but don't defined any row data, the HorizontalHeaderView which binds to a TableView via the syncView property, is not visible. I also tried a C++ model but it behaves the same.
Only after adding at least one row, the Header delegates get visible.
If I explicitly set the model to the HeaderView and don't bind via syncView, it gets visible.
I expected that the HeaderView is always visible, even when the model doesn't contain any rows. Or do I miss something?
Attachments
Issue Links
- duplicates
-
QTBUG-87526 QML HorizontalHeaderView does not show up if rowcount in Tablemodel is 0
- Closed
- is required for
-
QTBUG-92070 Feature parity for item views in Qt Quick compared to Widgets
- In Progress