You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
使用自定义元素,我们可以集成 [react-dnd](https://github.com/react-dnd/react-dnd) 来实现拖拽排序。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
By using `components`, we can integrate table with [react-dnd](https://github.com/react-dnd/react-dnd) to implement drag sorting function.
|
|
|
|
|
|
|
|
```css
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
```
|