Skip to content

Commit

Permalink
Merge pull request #5 from gfelizola/fix-update
Browse files Browse the repository at this point in the history
fix: fix update
  • Loading branch information
gfelizola committed Jul 20, 2016
2 parents 2f18b46 + 4957482 commit 3f382fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Table/TableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ class TableRow extends Component {
this.props.onCellClick(event, this.props.rowNumber, columnIndex);
}
event.ctrlKey = true;
this.onRowClick(event);

if(!this.props.unselectableColumns || this.props.unselectableColumns.indexOf(columnIndex) === -1) {
this.onRowClick(event);
}
};

onCellHover = (event, columnIndex) => {
Expand Down

0 comments on commit 3f382fd

Please sign in to comment.