vue-xlsx icon indicating copy to clipboard operation
vue-xlsx copied to clipboard

Download feature

Open aamirkhancr7 opened this issue 5 years ago • 3 comments

Hi

When i try to implement the download feature. i get a error on my console as

Error in callback for watcher "readyToParse": "TypeError: lib[type] is not a function"

any idea what is causing the issue..?

aamirkhancr7 avatar Jul 03 '20 06:07 aamirkhancr7

same problem here

endysuryo avatar Mar 23 '21 02:03 endysuryo

Same here

marcosmribeiro avatar Apr 19 '21 13:04 marcosmribeiro

This happens when the data of a sheet is an empty list. If you initialize data with an empty object like sheets = [{name: 'My Sheet', data: [{}]}] then it works. When you load your data you need to replace the array with a new array to avoid an empty row.

ahmadmu avatar Jan 11 '22 12:01 ahmadmu