Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.1
-
Fix Version/s: None
-
Component/s: Quick: Controls 2
-
Labels:None
-
Platform/s:
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
-
-
QTBUG-83612 earmarked by richard
-
- Closed
-