Forcing an item to remain in place in a jQuery UI Sortable list

前端 未结 3 1359
灰色年华
灰色年华 2020-12-31 07:05

I\'ve set up a jQuery sortable list but I need to be able to keep some items in the sortable \'fixed\' in place and for the other items to sort around them. I thought that t

3条回答
  •  臣服心动
    2020-12-31 07:57

    Wish I had seen this question before I posted mine and did all that Sortable research. This could have been a good starting point. Anyway, here's JQuery Sortable set item to an index programmatically a generic solution to this problem.

提交回复
热议问题