antd表格排序

2021-04-26 07:30

阅读:366

标签:lse   row   nbsp   column   ide   ack   ati   sed   react   

import { DndProvider } from ‘react-dnd‘;
import { HTML5Backend } from ‘react-dnd-html5-backend‘;
 
  
            
              columns={columns}
              locale={{ emptyText: ‘empty‘ }}
              components={this.components}
              dataSource={[]}
              pagination={false}
              onRow={(record, index) => ({
                index,
                record,
                onMouseDown: this.mouseDownRow.bind(this, record),
                moveRow: this.moveRow.bind(this, record),
              })}
            />
          
 
moveRow = (record, dragKey, hoverKey) => {}
mouseDownRow = (record) => {
    this.dragRow = record;
}
 

antd表格排序

标签:lse   row   nbsp   column   ide   ack   ati   sed   react   

原文地址:https://www.cnblogs.com/hamili/p/13253302.html


评论


亲,登录后才可以留言!