This is a migrated thread and some comments may be shown as answers.

drag and dropped treeview node can't be selected

0 Answers 31 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 17 Aug 2012, 05:28 AM
I have bound the "select" method of my treeview to show some extra info about the node in another pane.
Clickng on a node highlights it and shows the info just fine.
However when I drag a node:
- First of all, does this cause it to be selected?
  Since you start a drag by click then mouse down, does that  "click" select it?
- In any case, the dropped node is not highlighted, but clicking on it does not highlight it
 and does not call the "select" event.that I've defined.

- If I call my treeview.select(some_kitem) is that suppose to call the method that I have bound to the select method
for the treeview?

- Related to all of this,. when a node IS selected (and highlighed), I'd like it if when the user clicks on it,
it calls the select method that I've bound to the treeview, but it does not.
Apparently if a node is selected, it can't be reselected.
I consider this a bug, but I can imagne an app where you wouldn't want this to happen.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Christopher
Top achievements
Rank 1
Share this question
or