Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update ReactHTMLTableToExcel.jsx
${String(this.props.filename)}.xls to ${String(this.props.filename)}.xlsx
  • Loading branch information
ibra7002 authored Sep 1, 2022
commit 4c779e8ed0c07848d3bec0f5b76e41a6f3ea32cc
2 changes: 1 addition & 1 deletion src/ReactHTMLTableToExcel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ReactHTMLTableToExcel extends Component {

const table = document.getElementById(this.props.table).outerHTML;
const sheet = String(this.props.sheet);
const filename = `${String(this.props.filename)}.xls`;
const filename = `${String(this.props.filename)}.xlsx`;

const uri = 'data:application/vnd.ms-excel;base64,';
const template =
Expand Down