ant-design/components/table/demo/drag-sorting.md
2022-12-30 21:28:33 +08:00

514 B

zh-CN

使用自定义元素,我们可以集成 react-dnd 来实现拖拽排序。

en-US

By using components, we can integrate table with react-dnd to implement drag sorting function.

#components-table-demo-drag-sorting tr.drop-over-downward td {
  border-bottom: 2px dashed #1677ff !important;
}

#components-table-demo-drag-sorting tr.drop-over-upward td {
  border-top: 2px dashed #1677ff !important;
}