mui-datatables
mui-datatables copied to clipboard
selectToolbarPlacement: 'none' and isRowSelectable not working well together
selectToolbarPlacement: 'none' isRowSelectable: boolean function, e.g.
isRowSelectable: (dataIndex) => {
return dataIndex % 2 === 1;
}
Expected:
Clicking on select all checkbox in the header selects all items which are selectable.
Current:
Nothing is selected. If selectToolbarPlacement is set to 'above' or 'replace', it is working well.
https://codesandbox.io/s/vigorous-mendel-t8bjs
| Tech | Version |
|---|---|
| Material-UI | 4.11.2 |
| MUI-datatables | 3.7.3 |
| React | 17.0.0 |
| browser | Any |