What is the best way to move the selected node on a TreeList. The TreeList will be a nested one without leaf nodes.
I tried to create an object of the selected node and append it to the parentNode
selectedNode[0].parentNode.parentNode.appendChild(newNode) and selectedNode[0].parentNode.parentNode.insertBefore(newNode, selectedNode[0].nextSibling);
But always the 'internalId' is undefined error comes up, im using 4.1 version of ext.
On previous versions i have seen var newNode = Ext.create('Ext.tree.TreeNode', {..});
Is there any alternative for this.