Skip to content

Commit

Permalink
Fix: Excel AutoFilter range format was incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Mar 27, 2024
1 parent cfffd42 commit 283c094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/button/excelHtml5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
</option>

<option type="boolean" name="autoFilter" default="false" since="1.5.4">
Enable Excel's auto filter feature for the header cells in the table allowing the user to quickly filter and sort the exported spreadsheet in Excel. Note that this does not operate in LibreOffice (although the spreadsheet is still readable).
Enable Excel's auto filter feature for the header cells in the table allowing the user to quickly filter and sort the exported spreadsheet in Excel.
</option>


Expand Down
3 changes: 2 additions & 1 deletion js/buttons.html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,9 @@ DataTable.ext.buttons.excelHtml5 = {
_sheetname(config) +
'!$A$' +
dataStartRow +
':' +
':$' +
createCellPos(data.header.length - 1) +
'$' +
dataEndRow
})
);
Expand Down

0 comments on commit 283c094

Please sign in to comment.