The antd Table component calls the select all function

problem description

antdUI;TableTableTableTypescript


Oct.12,2021

use rowSelection . For more information, please see the document

.
const rowSelection = {
  selectedRowKeys,
  onChange: this.onSelectChange,
};
...
this.setState({ selectedRowKeys: newSelectedRowKeys });
Menu