Portlets and DND to create a form

Hello!
I’m using portlets to build a dynamic form. Good functionality, especially DND of potlets. Portlets themselves are making form layout, and I’m adding elements inside them using my special button ‘Add Element’.
But I have a task to add elements inside portlet using drag and drop. Form elements are stored in list or datatable, and must be dragged into the portlet. Is there a way to DND elements between datatable or list and portlets? Can you provide me a samples or maybe a link to sources on the github?

P.S. To be correct I must say, that inside portlet there is a layout widget, and form element must be dropped into columns or rows of this layout.

up

Hello,
Instead of portlet you can also use dashboard which has a possibility to drag cells to the desired place and change their size right in the interface.
In addition, here you can see a quick sample where is shown of how to use dnd with a datatable

Thanks