Skip to content

Commit

Permalink
Merge pull request #1123 from JohnUiterwyk/patch-1
Browse files Browse the repository at this point in the history
Fix hideSelectColumn not working in table header
  • Loading branch information
AllenFang authored Mar 10, 2017
2 parents 42ebc53 + fcc7c81 commit 6855c9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/TableHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ class TableHeader extends Component {
}

renderSelectRowHeader(rowCount, rowKey) {
if (this.props.customComponent) {
if (this.props.hideSelectColumn) {
return null;
} else if (this.props.customComponent) {
const CustomComponent = this.props.customComponent;
return (
<SelectRowHeaderColumn key={ rowKey } rowCount={ rowCount }>
Expand Down

0 comments on commit 6855c9a

Please sign in to comment.