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.
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.