Select only item in TreeView
QML and Qt Quick
1
Posts
1
Posters
767
Views
1
Watching
-
Hi!
I have next TreeView in QML:
TreeView { id: tree width: 300 model: pgItemModel headerVisible: false TableViewColumn { resizable: true role: "display" } }When user selects a tree item, entire row will be highlighted:

But better if only tree item will be highlighted, as in the following example:

How can I do this?
Thanks!