antd table 去掉全选

 

const rowSelection = {
  selectedRowKeys,
  columnTitle:' ', // 去掉全选
  hideDefaultSelections:true, // 去掉全选
  onChange: this.rowSelectedHandel,
};

<Table
    rowSelection={rowSelection}
    columns={this.columns}
    dataSource={temporaryData}
    pagination={paginationProps}
    onChange={this.handleTableChange}
/>

 

本文转自:https://segmentfault.com/q/1010000013950662

posted @ 2021-01-25 16:38  本溢  阅读(3548)  评论(0)    收藏  举报