Nov 09, 2009, 10:46 AM
[CLOSED] [1.0] TreeEditor disable single-click to edit
I'm using a TreeEditor to allow users to edit nodes on a TreePanel.
Is there a way to disable the default behaviour of single-clicking to edit the node's text? I instead want to programmatically edit a particular node in the Tree when a user clicks a Button, the code for which works fine:
TreeEditor:
Is there a way to disable the default behaviour of single-clicking to edit the node's text? I instead want to programmatically edit a particular node in the Tree when a user clicks a Button, the code for which works fine:
TreeEditor:
<ext:TreeEditor runat="server" ID="trdEditor">
<Field>
<ext:TextField runat="server"></ext:TextField>
</Field>
</ext:TreeEditor>
JS code to dynamically edit a node:trdEditor.editNode = opNode;
trdEditor.startEdit(opNode.ui.textNode, opNode.text);
Thanks