Skip to content

Commit

Permalink
Merge pull request #434 from RyanKys/master
Browse files Browse the repository at this point in the history
Fixed #433, Update DataTable.js to fix IE csv filename export
  • Loading branch information
mertsincan authored Jun 4, 2018
2 parents 135bc17 + 955c4d7 commit 8c6a7cb
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 @@ -712,7 +712,7 @@ export class DataTable extends Component {
});

if(window.navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpenBlob(blob, this.exportFilename + '.csv');
navigator.msSaveOrOpenBlob(blob, this.props.exportFilename + '.csv');
}
else {

This comment has been minimized.

Copy link
@JEEVANJGA

JEEVANJGA Dec 6, 2019

This else part seems to not work in applications built and deployed to site.

#1098

This comment has been minimized.

Copy link
@JEEVANJGA

JEEVANJGA Dec 24, 2019

This else part seems to not work in applications built and deployed to site.

#1098

Found a workaround and has mentioned in #1098 .

Kindly please add or make relevant changes.

let link = document.createElement("a");
Expand Down

0 comments on commit 8c6a7cb

Please sign in to comment.