You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may be missing something here, but it seems, as the download component is a child of the other components, a workbook with sheets is created regardless. How to I create the workbook with sheets on demand? i.e. I don't want to create the workbook until it's requested by the download click?
The text was updated successfully, but these errors were encountered:
@Worthaboutapig True, the default use case is to have the workbook live with the data, if you do not want this behaviour, currently it's a bit of a hack, but it's a good idea to implement this, I will think of an efficient way to do so.
if you want to create the workbook only when download is pressed:
put xlsx-workbook under v-if and add a ref to it like xlsx
on xlsx-workbook add a listener for change with a function that will 'click' xlsxl-download button ( with the ref )
I may be missing something here, but it seems, as the
download
component is a child of the other components, a workbook with sheets is created regardless. How to I create the workbook with sheets on demand? i.e. I don't want to create the workbook until it's requested by the download click?The text was updated successfully, but these errors were encountered: