Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Mar 9, 2020
2 parents ce641d0 + a196139 commit 38723ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ export class DataTable extends Component {
this.onColumnDrop = this.onColumnDrop.bind(this);
this.onVirtualScroll = this.onVirtualScroll.bind(this);
this.frozenSelectionMode = null;

if (this.props.reorderableColumns && !this.props.children.every(it => it.columnKey)) {
console.warn('Omitting columnKey property of Column child in a column reorderable DataTable may imply in duplication of the Columns if they have the same field.')
}
}

getFirst() {
Expand Down

0 comments on commit 38723ba

Please sign in to comment.