How do I connect multiple sortable lists to each other in jQuery UI?

后端 未结 3 2052
情话喂你
情话喂你 2021-02-01 15:05

I\'m new to jQuery, and I\'m totally struggling with using jQuery UI\'s sortable.

I\'m trying to put together a page to facilitate grouping and ordering of

3条回答
  •  再見小時候
    2021-02-01 15:43

    This should work:

    $('#groupsList').sortable();
    $('.itemsList').sortable({
        connectWith: $('.itemsList')
    });
    

提交回复
热议问题