-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Autofilter feature is not working
const XLSX = require('xlsx')
var wb = XLSX.utils.book_new()
var ws = XLSX.utils.aoa_to_sheet([ ["Foo", "Bar", "Baz", "Qux"], [1,2,3,4], [2,3,4,5], [3,4,5,6] ])
ws['!autofilter'] = { ref:"A1:D4" }
XLSX.utils.book_append_sheet(wb, ws, "Sheet1");
XLSX.writeFile(wb, 'auto.ods')
XLSX.writeFile(wb, 'auto.xls')
XLSX.writeFile(wb, 'auto.xlsx')
Metadata
Metadata
Assignees
Labels
No labels