View Full Version : Limit Tree Panel Drag and Drop to Appen Only

27 Jul 2012, 12:27 PM
I'm very new to Ext and I have a problem in that I need to "remove" the insert capabilities of dragging and dropping an item into a tree panel.

I've tried setting folderSort: true on the data store and appendOnly: true in viewConfig

viewConfig: {
plugins: {
ptype: 'treeviewdragdrop',
appendOnly: true

Still, when I drag an item from a gridview it has the insert-before and insert-after proxy panels. Is there a way to tell Ext for this particular tree panel that I do not want the insert-before and insert-after capabilities?

27 Jul 2012, 1:25 PM
So you only want to allow dropping of a child on a parent?


30 Jul 2012, 5:22 AM
I finally got it taken care of, just had to figure out where to put the config changes (appendOnly and folderSort).