PDA

View Full Version : Tree node could be as parent when it is leaf



whnois
22 Mar 2012, 9:29 PM
Hi

i want to ask about; tree nodeinterface cannot be convertable as parent node from leaf. it is trouble when moving categories deeply. i supposed to find solutions from treeDragDrop plugin. but i don't manage it.



//Ext.tree.Panel
viewConfig: {
plugins: {
ptype: 'treeviewdragdrop',
allowParentInsert (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tree.plugin.TreeViewDragDrop-cfg-allowParentInsert): true // this place is true?
}
},
border : false,
useArrows: true,
...

mitchellsimoens
23 Mar 2012, 5:41 AM
Yes, the config is support to go in the plugin config.