PDA

View Full Version : Drag and drop with button



arul_css
15 Feb 2013, 3:53 AM
Hi,

Is there a way that we can select rows and drop it in the second grid (also second to first grid) with a button click instead of dragging?

I am using this example,
http://docs.sencha.com/ext-js/4-1/#!/example/dd/dnd_grid_to_grid.html

I also need to have a button that does this operation.

Thanks!

scottmartin
16 Feb 2013, 7:26 AM
Just insert the record into the 2nd store and delete from 1st store .. same as DnD does.

Scott.

arul_css
18 Feb 2013, 1:44 AM
Hi scottmartin

Thanks, There is any example for what you suggested?