The Logic In Drag And Drop

Hi what is the process in drag and drop

you see i want to drop a method in certain place in view and once i drop it, it should still be their,…

also i want that the view is like a table something like that where i put the action their…

i found a link of drag and drop but i dont get the logic on it.

http://www.yiiplayground.com/index.php?r=UiModule/jui/ziiDroppable