PDA

View Full Version : Custom Drag Text in Tree View Drag Drop



kavyakn
30 May 2013, 2:40 AM
How to customise the drag text for plugin treeviewdragdrop.Default is 1 selected node, I want the node text to be shown as the drag text . How can this be done ?

slemmon
2 Jun 2013, 9:57 PM
I'm afraid there's not a public method to determine what text is shown. The method that drives that output is in a private method of a private class:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.tree.ViewDragZone-method-getDragText