drag and drop - ExtJs: Use treeviewdragdrop and gridviewdragdrop together -



drag and drop - ExtJs: Use treeviewdragdrop and gridviewdragdrop together -

i want utilize integrate 2 drag n drop features of extjs 4.1.1

i want drag nodes tree panel/grid tree grid. drag , drop feature should have flexibility of treeviewdragdrop wherein can drop node parent node. depth should matter.

but since need display info in treegrid format, have utilize gridviewdragdrop.

due mismatch between source , destination not able derive required functionality of two.

here jsfiddle this:

http://jsfiddle.net/atechiediary/6ad6b/2/

please help.

change both ptypes 'gridviewdragdrop' , handle depth manually in plugin listener 'beforedrop' in viewconfig.

viewconfig: { plugins: { ptype: 'gridviewdragdrop', dragtext: 'drag , drop reorganize' }, listeners: { beforedrop: function(node, data, overmodel, dropposition, drophandlers) { //handle depth manually here } } },

extjs drag-and-drop treeview extjs4.1 treegrid

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -