<FetchTable
columns={columns}
query={query}
ref="table"
pagesize={50}
url={pathConfig.MENULISTBYGROUPID_URL}![][1]
rowKey="menuId"
scroll={this.props.scroll || { x: "100%" }}
rowSelection={{
selectedRowKeys: this.state.rowKeys,
onChange: (selectedRowKeys, selectedRows) => {
this.setState({selected: selectedRowKeys, selectedRows: selectedRows})
},
hideDefaultSelections: true,
getCheckboxProps: record => ({
defaultChecked: record.selectFlag === 1
}),
onSelect: (record, selected, selectedRows) => this.onRowSelect(record, selected, selectedRows),
}
}}
/>