mui-datatables icon indicating copy to clipboard operation
mui-datatables copied to clipboard

selectToolbarPlacement: 'none' and isRowSelectable not working well together

Open zetedi opened this issue 4 years ago • 2 comments

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

zetedi avatar Dec 24 '20 11:12 zetedi