Currently handling the expansion of each item in TreeView is a bit cumbersome because whether an item can expand or not is not clear at the time the item is created and setting the item to expand beforehand won't have an effect either.
Suggestion: make it easier to keep track of which items can be expanded and make it easier to control the expansion state.
|For Gerrit Dashboard: QTBUG-91374|
|391156,4||QQuickTreeView: be able to expand rows that are not yet visible in the view||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|391182,2||QQuickTreeView: be able to expand rows that are not yet visible in the view||master||qt-extensions/qttreeview||Status: MERGED||+2||0|
|391662,2||QQuickTreeView: be able to expand rows that are not yet visible in the view||6.3||qt/qtdeclarative||Status: MERGED||+2||0|