PDA

View Full Version : how to achive drag and drop functionality extjs 4.0.2a



rushi2440
29 Feb 2012, 10:56 PM
hi..
sencha forum member I am using ext js4.0.2a and has achieved a task to show desktop with icons on it,
when the application runs.

Now I want to add the drag and drop functionality to my desktop icons, but don't know how to achieve it.

I am using ext js 4.0.2a with MVC architechture so, is there any way I can achieve it.

I had seen some examples, but they all based on version lower than ext js-4.

Please guide me how can I achieve this task of adding drag and drop functionality to my desktop using ext js 4.0.2a

Yogendra Singh
Sr. Programmer
Kintudesigns.com

mitchellsimoens
1 Mar 2012, 1:32 PM
http://docs.sencha.com/ext-js/4-0/#!/example/dd/dragdropzones.html

This example shows how to register a drag and drop from one dataview to another. You need to drag and drop within a single dataview (which is what the desktop is) so all you really are doing is reordering the records in the store. But that example will show you how to register drag and drop.