-
2 Jul 2011 6:25 AM #1
[4.0.2] tree.ViewDropZone reorderOnly
[4.0.2] tree.ViewDropZone reorderOnly
Often I use the drag and drop on tree.Panel limited to changing the order of items within a single parent.
Maybe someone else from this benefit. Maybe someday it will go to the official plugin.
in extjs/src/tree/ViewDropZone.js
Code:47a48,49 > > reorderOnly: false, 144a147,150 > > if (this.reorderOnly){ > if (position == 'append' || draggedRecords[0].parentNode != targetNode.parentNode) return false; > }


Reply With Quote