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
Sorry for a noob question. Is it possible for this module to trigger file creation without a user having to click on a button? Looking for a solution to do the work this module does but in the background. Thanks for any tips!
The text was updated successfully, but these errors were encountered:
I made it work like this
<Workbook
filename={props.fileName}
element={}
>
and called this on my useeffect (since its a react app) you can do document.ready or anything
useEffect(() => {
document.getElementById("downloadBtn").click();
}, []);
Sorry for a noob question. Is it possible for this module to trigger file creation without a user having to click on a button? Looking for a solution to do the work this module does but in the background. Thanks for any tips!
The text was updated successfully, but these errors were encountered: