PDA

View Full Version : Drag and Drop



Sandeesh
28 Jun 2011, 3:12 AM
Hi,I am implementing drag and drop between two grids having only 1 column each.

How to get the value of the row being dragged and dropped on notifyDrop event?

aramaki
28 Jun 2011, 4:09 AM
sorry, this is not a full implementation?
http://dev.sencha.com/deploy/ext-3.3.1/examples/dd/dnd_grid_to_grid.html

Sandeesh
28 Jun 2011, 4:12 AM
Hi aramaki,
i just need the value of the(field name)of the row which is selected.

skirtle
28 Jun 2011, 2:02 PM
As aramaki points out, all of this is covered in that official example. See this bit:


notifyDrop : function(ddSource, e, data){
var records = ddSource.dragData.selections;
...
}

Sandeesh
29 Jun 2011, 2:10 AM
Thanks skirtle
I got it