mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +08:00
514 B
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 .ant-table tr.drop-over-downward td {
border-bottom: 2px dashed #1890ff;
}
#components-table-demo-drag-sorting .ant-table tr.drop-over-upward td {
border-top: 2px dashed #1890ff;
}