Skip to content

Commit

Permalink
Fixed #221
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Dec 5, 2017
1 parent b3cfe51 commit b052746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class DataTable extends Component {
frozenFooterColumnGroup: null,
rowExpansionTemplate: null,
expandedRows: null,
responsive: false,
onRowToggle: null,
responsive: false,
resizableColumns: false,
columnResizeMode: 'fit',
reorderableColumns: false,
Expand Down Expand Up @@ -838,7 +838,7 @@ export class DataTable extends Component {
}

createTableBody(value, columns) {
return <TableBody value={value} first={this.state.first} rows={this.state.rows} lazy={this.props.lazy}
return <TableBody value={value} first={this.state.first} rows={this.state.rows} lazy={this.props.lazy} dataKey={this.props.dataKey} compareSelectionBy={this.props.compareSelectionBy}
selectionMode={this.props.selectionMode} selection={this.props.selection} metaKeySelection={this.props.metaKeySelection}
onSelectionChange={this.props.onSelectionChange} onRowClick={this.props.onRowClick} onRowSelect={this.props.onRowSelect} onRowUnselect={this.props.onRowUnselect}
expandedRows={this.props.expandedRows} onRowToggle={this.props.onRowToggle} rowExpansionTemplate={this.props.rowExpansionTemplate}
Expand Down

0 comments on commit b052746

Please sign in to comment.