but i have a problem with treeview. My treeview is link with a sorted string list, and when there is change in my list, i must close and open the parent node to see the change.
Thatās something that would be best if I built it into the treeview, though Iāve no time right now to do that.
You can use the drag-and-drop stuff to do it (like I do in tracktionās project list). Iām going to post some new demo code soon with an example of drag-and-drop in it, so that might help.
I try the dragānādrop functionnality in the 1.9 demo (openGL works fine !!). Itās very simple, but ā¦ i canāt do same things with my treeview
I create a class herited from TreeViewItem, but i canāt use āmouseDragā ā¦ and when i try the ācreateItemComponentā function, i donāt suceed.
Is there a solution ??
TreeViewItem can create custom components for each item in your tree, so you can use them to handle all the mouse dragging you need. Check out TreeViewItem::createItemComponent() for how to do it.