16 Nov 2012 9:25 AM #1
Unanswered: edit tree node
How to edit a child node of a Ext.tree.panel(Extjs.tree.panel)???
19 Nov 2012 9:26 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
More info please.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
20 Nov 2012 12:23 AM #3
when i double click in a node in tree i want to edit the text of the node
20 Nov 2012 1:06 AM #4
on itemdblclick event of the tree panel, you can create e.g. a popup where the new text can be entered. or if you already have the text, you can do the following:
var node = tree.getSelectionModel().getSelection(); // get selected node node.set('text', newText);