Skip to content

Commit ffc0238

Browse files
committed
Fix: Excel AutoFilter range format was incorrect
1 parent cfffd42 commit ffc0238

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/button/excelHtml5.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
</option>
223223

224224
<option type="boolean" name="autoFilter" default="false" since="1.5.4">
225-
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).
225+
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.
226226
</option>
227227

228228

@@ -281,4 +281,4 @@ new DataTable('#myTable', {
281281
}
282282
});
283283
]]></example>
284-
</dt-button>
284+
</dt-button>

js/buttons.html5.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,8 +1348,9 @@ DataTable.ext.buttons.excelHtml5 = {
13481348
_sheetname(config) +
13491349
'!$A$' +
13501350
dataStartRow +
1351-
':' +
1351+
':$' +
13521352
createCellPos(data.header.length - 1) +
1353+
'$' +
13531354
dataEndRow
13541355
})
13551356
);

0 commit comments

Comments
 (0)