数据表行移动到引导模式后面使用RowReorder

DataTables row moving behind bootstrap modal using RowReorder

本文关键字:RowReorder 模式 移动 数据表      更新时间:2023-09-26

我在Bootstrap模态窗口上使用数据表,当我实现RowReorder扩展时工作良好,除了鼠标指针后面的行发生在模态后面。有没有一种方法来设置,这样我就可以看到行移动在屏幕前面的模态窗口?像z轴之类的?非常感谢。

默认引导.modalz-index: 1050, .modal-backdropz-index: 1040。因此,您所要做的就是确保RowReorder浮动元素的z-index具有更高的秩:

table.dt-rowReorder-float {
    z-index: 2000;
}

演示-> http://jsfiddle.net/L82z0jgj/