pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: TreeView Drop between nodes?
Date Wed, 08 Jun 2011 14:29:30 GMT
>            TreeViewNodeRenderer renderer = (TreeViewNodeRenderer) getNodeRenderer();
>            TreeNode node = (TreeNode) getSelectedNode();
>            Sequence.Tree.Path path = getSelectedPath();
>            renderer.render(node, path, getRowIndex(path), PageTreeView.this, isBranchExpanded(path),
isNodeSelected(path), getNodeCheckState(path), true, false);
>            return renderer;
> 
> This paints the wrong node (two nodes higher). I tried creating a new TreeViewNodeRenderer,
but then it paints nothing. Please advice :)

Are you dragging the selected node or another node?


Mime
View raw message