One option is to use a DelegateModel on top of the actual tree model and set the rootIndex
http://doc.qt.io/qt-5/qml-qtqml-mode...rootIndex-prop
Cheers,
_
One option is to use a DelegateModel on top of the actual tree model and set the rootIndex
http://doc.qt.io/qt-5/qml-qtqml-mode...rootIndex-prop
Cheers,
_
Can it used with TableView ? Or is ListView better ?
Should works with both.
Both of them treat the model as a list model.
So it is just a matter how you want the view to look and behave.
Cheers,
_
Bookmarks