Any way to hide the checkboxes?
sathyaincampus opened this issue · comments
Is there any way to hide the checkboxes in your grid? I see that in the material ui TableHeader and TableBody the following properties for turning on or off checkBoxes. But I don't see any option in your control to accept this flag and turn the checkboxes off. Do you have any suggestions on how to achieve this?
<TableHeader
displaySelectAll={this.state.showCheckboxes}
adjustForCheckbox={this.state.showCheckboxes}
enableSelectAll={this.state.enableSelectAll}
>
<TableBody
displayRowCheckbox={this.state.showCheckboxes}
deselectOnClickaway={this.state.deselectOnClickaway}
showRowHover={this.state.showRowHover}
stripedRows={this.state.stripedRows}
>
You could hide them in your css. Worked for me
th:first-child, td:first-child {
display: none;
}