jQuery对重物的可排序性能问题

时间:2014-01-29 10:02:50

标签: jquery performance jquery-ui jquery-ui-sortable

我在尝试使用仅包含1000行的网格对元素进行排序时遇到了性能问题。我想要解决的拖动部分存在延迟。

代码部分:

$("#layoutSouthContainer")
        .sortable({
            refreshPositions: true,
            connectWith:"#layoutSouthContainer",
            handle: "> .module-header",
            axis: 'x'
        }).droppable({
            accept: ".dockable",
            tolerance: "pointer",
            containment: "#layoutSouthContainer"
        });

演示=> http://jsfiddle.net/27LMp/2/

我做错了吗? 有一个更好的方法吗? 是否只有这部分可以流动?

0 个答案:

没有答案