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.
2 parents c66ff3d + f25ef9e commit edaf30fCopy full SHA for edaf30f
src/table/table-header.jsx
@@ -152,7 +152,7 @@ const TableHeader = React.createClass({
152
},
153
154
_getSelectAllCheckboxColumn(props) {
155
- if (!this.props.displaySelectAll) return this._getCheckboxPlaceholder(props);
+ if (!this.props.displaySelectAll) return this._getCheckboxPlaceholder(props);
156
157
const checkbox =
158
<Checkbox
@@ -163,8 +163,9 @@ const TableHeader = React.createClass({
163
checked={this.props.selectAllSelected}
164
onCheck={this._onSelectAll} />;
165
166
+ const key = 'hpcb' + props.rowNumber;
167
return (
- <TableHeaderColumn style={{width: 24}}>
168
+ <TableHeaderColumn key={key} style={{width: 24}}>
169
{checkbox}
170
</TableHeaderColumn>
171
);
0 commit comments