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 ffc0238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -281,4 +281,4 @@ new DataTable('#myTable', {
}
});
]]></example>
</dt-button>
</dt-button>
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 ffc0238

Please sign in to comment.