I want to hide the checkbox from header row. From which all the rows can be selected. I just want to select multiple option by clicking each. So I want to hide all row select option.
Advertisement
Answer
I believe that selectableRowsHeader
option is what you are looking for.
JavaScript
x
9
1
<MUIDataTable
2
title={"Title"}
3
data={data}
4
columns={columns}
5
options={{
6
selectableRowsHeader: false
7
}}
8
/>
9
https://codesandbox.io/s/muidatatables-hide-select-all-l8o1z?file=/index.js