PDA

View Full Version : Get original store of Dragged value



getbogged
4 Apr 2012, 6:53 AM
I have two grids that allow for drag and drop. How can i get the store of the grid that i have just dragged from?

I know i can do this
Ext.select('.x-grid').elements[0].id
or
console.log(Ext.getCmp("panel-game-1").getStore());

To find the store but I to find a id or cmp from the values i receive when something is dropped.

scottmartin
4 Apr 2012, 11:58 AM
Please have a look at this example:
http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/dd/dnd_grid_to_grid.html

Regards,
Scott.