diff --git a/src/components/datatable/DataTable.js b/src/components/datatable/DataTable.js index 60e50629e3..450356a43d 100644 --- a/src/components/datatable/DataTable.js +++ b/src/components/datatable/DataTable.js @@ -1002,9 +1002,12 @@ export class DataTable extends Component { } if(this.props.onSelectionChange) { + const { originalEvent, ...rest } = event; + this.props.onSelectionChange({ - originalEvent: event, - value: selection + originalEvent, + value: selection, + ...rest }); } }