Here is a comprehensive article which you should read.
|Collapsible Drag&Drop panels with Dojo|
|Demo of Drag and Paste with Dojo|
Copyright (c) 2007-2013 Ashish Patil . Please read FAQ for more details.