View Full Version : Treegrid editor

1 Mar 2012, 6:51 AM
I have a treegrid with a column editor. It's work fine when i am editing a existent node.
I programed a function for add new nodes with itemcontextmenu listeners

// Se agrega el nodo hijo
var oNewNode = oSelectedNode.appendChild({
text : 'Ingrese nombre',
parentId : oSelectedNode.data.id,
dept : oSelectedNode.data.depth + 1,
cls : sCls,
leaf : bLeaf
I would like that new node immediately after being added sets in "edit mode", so the user could change the node text.
┐How i do this?

1 Mar 2012, 1:46 PM
Tried the startEdit method? Used for grids, not sure it will for trees.