Tree model in QML without C++
can you create a model that can be used for treeview using qml only?
all articles I found implement the model in c++
Im not QML user but the only thing about pure QML models i could find was this
So not sure you can defien new models in QML alone.
Could be cool though :)
@mrjj thanks but this is for list model. I am interested in treemodel with parent-child relations
I think you need to use c++ for that.
I was stuck at the same point, "why are the example only static read-only c++ models"?
Hope this can help.