table-with-custom-col
v1.0.0
Published
antd Table自定义列
Downloads
1
Readme
antd Table自定义列
安装
npm install
使用方式
<TableWithCustomCol
customColKey="govern/fake?key=17&tab=check" //作为localstorage的key值
leftActionBtns={ // table上的左边的按钮
<div>
<Button type="primary" disabled={!selectedRowKeys.length} onClick={this.onBatchHandle}>
批量处理
</Button>
<Divider type="vertical" />
<Button type="primary" disabled={!selectedRowKeys.length} onClick={() => this.onBatchSign(selectedRowKeys)}>
批量标记
</Button>
</div>
}
>
<Table
....
>
</TableWithCustomCol>