From ffc0238b7f2546e10f59279d0ab556e66acaf53c Mon Sep 17 00:00:00 2001 From: Brian White Date: Tue, 26 Mar 2024 20:45:49 -0400 Subject: [PATCH] Fix: Excel AutoFilter range format was incorrect --- docs/button/excelHtml5.xml | 4 ++-- js/buttons.html5.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/button/excelHtml5.xml b/docs/button/excelHtml5.xml index d4b9385e..16f7df39 100644 --- a/docs/button/excelHtml5.xml +++ b/docs/button/excelHtml5.xml @@ -222,7 +222,7 @@ @@ -281,4 +281,4 @@ new DataTable('#myTable', { } }); ]]> - \ No newline at end of file + diff --git a/js/buttons.html5.js b/js/buttons.html5.js index 26bacdf2..a4264fc2 100644 --- a/js/buttons.html5.js +++ b/js/buttons.html5.js @@ -1348,8 +1348,9 @@ DataTable.ext.buttons.excelHtml5 = { _sheetname(config) + '!$A$' + dataStartRow + - ':' + + ':$' + createCellPos(data.header.length - 1) + + '$' + dataEndRow }) );