Drag ui component?

Hello, from this Code Snippet
I’m trying to let user able to move the component in form.
Is there a way to do that easier? or I have to put it in dashboard as link above? and if it’s in dashboard can we get something link rows/cols out of it?
thanks
(I tried to use 2 dashboard as one for all ui listed and another for form place but cant figured it out how to move outside the dashboard yet)

Greetings!

If you want to make some element on page draggable you can use the addDrag method:

webix.DragControl.addDrag(node);

If you want to define some area as a drop target, you can use the addDrop method:

webix.DragControl.addDrop(node);

Here is the snippet: Code Snippet