i tried to handle dynamic sortable lists with dragable elements
so i will explain it:
you have 2 main boxes, 1 for dragable elements and 1 for holding div boxes.
the div boxes are created with dragable conntected to sortable. so for example i create a box using dragable to my sortable list. after this, i reload the event handler ( call the command again, as i did it after page load)
i want that i can drag the dragable elements on my main box to a new sortable list which are dynamicly created after a new "box" is created.
i will attach a sample file, so it will be clear what i want.
a new draged div box will create a new sortable list for the elements on the main_box.
for now it work not really perfect.
if i add a box manual before the first bind of the sortable / dragable are done, all works great.
if i now add a new box with drag/drop, the new box is created perfect, but if i want now to drag a element to this new list, it will not work. the event handler is not initialized.
I dont know why. but if i sort the temporaly created elements in this new sortable box, i can move it fine, so sortable is working, and after i moved one of the new created temp elements ( in the new created sortable box) i can drag the mainbox elements in that newly created div box too, but only after i sort a element first, if i don't sort it and with that dont let the sortable handler wake up, i cannot drag any items to this new list.