You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Constantin Teodorescu <br...@gmail.com> on 2016/03/18 21:32:49 UTC

Sending a binary XLSX from a list function to browser to download it

Hello guys,

I succeeded in building a binary XLSX in a list function using SheetJS
libraries.

So, I'm having now the spreadsheet in the list function, how to I send it
to the browser in order to download it?

var wbout = XLSX.write(wb, {bookType:'xlsx', bookSST:false, type: 'binary'})

just send(wbout) doesn't work!

Saw something in a discussion thread that lists cannot send binary data
(but show functions can).
Is that true?

Teo