Skip to content

Commit

Permalink
fix #1334
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jun 11, 2017
1 parent 2115389 commit 74e37d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,13 @@ class TableBody extends Component {
expandBy,
expandableRow,
selectRow: {
clickToExpand
clickToExpand,
hideSelectColumn
},
onlyOneExpanding
} = this.props;
const selectRowAndExpand = this._isSelectRowDefined() && !clickToExpand ? false : true;
columnIndex = this._isSelectRowDefined() ? columnIndex - 1 : columnIndex;
columnIndex = this._isSelectRowDefined() && !hideSelectColumn ? columnIndex - 1 : columnIndex;
columnIndex = this._isExpandColumnVisible() ? columnIndex - 1 : columnIndex;
if (expandableRow &&
selectRowAndExpand &&
Expand Down

0 comments on commit 74e37d3

Please sign in to comment.