-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Description
About the bug
I am using search box with react-bootstrap-table2. For that, I wrapped the table with ToolkitProvider. Also I want to use checkbox to select multiple rows. Now the checkboxes are not visible.
codesandbox
const { SearchBar } = Search;
const selectRow = {
mode: 'checkbox',
clickToSelect: true
};
<ToolkitProvider
keyField="id"
data={products}
columns={columns}
search
>
{
props => (
<div>
<SearchBar {...props.searchProps} />
<hr />
<BootstrapTable {...props.baseProps} selectRow={selectRow} />
</div>
)
}
</ToolkitProvider>
Metadata
Metadata
Assignees
Labels
No labels
