Skip to content

Commit fcc7c81

Browse files
authored
Fix hideSelectColumn not working in table header
Fixes issue: AllenFang#1122
1 parent fcdbfde commit fcc7c81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/TableHeader.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ class TableHeader extends Component {
109109
}
110110

111111
renderSelectRowHeader(rowCount, rowKey) {
112-
if (this.props.customComponent) {
112+
if (this.props.hideSelectColumn) {
113+
return null;
114+
} else if (this.props.customComponent) {
113115
const CustomComponent = this.props.customComponent;
114116
return (
115117
<SelectRowHeaderColumn key={ rowKey } rowCount={ rowCount }>

0 commit comments

Comments
 (0)