We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5da38c3 commit cf28f8fCopy full SHA for cf28f8f
src/TableBody.js
@@ -227,8 +227,11 @@ class TableBody extends Component {
227
}
228
};
229
230
- if (this.props.selectRow.clickToSelectAndEditCell) {
231
- this.handleSelectRow(rowIndex + 1, true);
+ if (this.props.selectRow.clickToSelectAndEditCell &&
+ this.props.cellEdit.mode !== Const.CELL_EDIT_DBCLICK) {
232
+ const selected = this.props.selectedRowKeys.indexOf(
233
+ this.props.data[rowIndex][this.props.keyField]) !== -1;
234
+ this.handleSelectRow(rowIndex + 1, !selected);
235
236
this.setState(stateObj);
237
0 commit comments