lujing-fe-react-dragtable
v1.0.2
Published
A Table can Drag
Downloads
4
Readme
lujing-fe-react-dragtable
组件功能
可拖拽排序并放回拖拽后的结果
组件部署
cnpm i lujing-fe-react-dragtable --save
组件用法(demo)
import 'antd/lib/table/style/css'; //样式引入 可选
import DragTable from 'lujing-fe-react-dragtable';
<DragTable
bordered
pagination
dataSource={data}
columns={columns}
getData={(e) => this.sortData(e)}
/>
详见demo