We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2115389 commit 74e37d3Copy full SHA for 74e37d3
src/TableBody.js
@@ -314,12 +314,13 @@ class TableBody extends Component {
314
expandBy,
315
expandableRow,
316
selectRow: {
317
- clickToExpand
+ clickToExpand,
318
+ hideSelectColumn
319
},
320
onlyOneExpanding
321
} = this.props;
322
const selectRowAndExpand = this._isSelectRowDefined() && !clickToExpand ? false : true;
- columnIndex = this._isSelectRowDefined() ? columnIndex - 1 : columnIndex;
323
+ columnIndex = this._isSelectRowDefined() && !hideSelectColumn ? columnIndex - 1 : columnIndex;
324
columnIndex = this._isExpandColumnVisible() ? columnIndex - 1 : columnIndex;
325
if (expandableRow &&
326
selectRowAndExpand &&
0 commit comments