Skip to content

Commit

Permalink
Fixed #261
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Dec 22, 2017
1 parent 92efd3c commit 69d6632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ export class DataTable extends Component {

//headers
for(let i = 0; i < columns.length; i++) {
if(columns[i].field) {
if(columns[i].props.field) {
csv += '"' + (columns[i].props.header || columns[i].props.field) + '"';

if(i < (columns.length - 1)) {
Expand Down

0 comments on commit 69d6632

Please sign in to comment.