Closed mathiasrw closed 8 years ago
Hi!! I've got the same issue there...
I'm using SELECT INTO XLSX() Do you know the solution?Thanks
TypeError: Cannot read property 'write' of undefined
at saveWorkbook (http://localhost/start/dashboard/js/libraries/alasql.min.js:10:11230)
at doExport (http://localhost/start/dashboard/js/libraries/alasql.min.js:10:9543)
at Object.alasql.into.XLSX (http://localhost/start/dashboard/js/libraries/alasql.min.js:10:9290)
at eval [as intoallfn](eval at
You need to include xlsx.js
Thanks!!! Now I can download it as excel file but no data displaying. I console the result and it returns (an empty string)
It gets more easy to help you if you provide example code
Can you help me about my problem? I want to export the table as excel wherein i just need to export three fields. The two fields are fixed data from table and One fields is from databse.
For my html table codes:
FROM | space space space | TO |
---|---|---|
{{from |date:'MM-dd-yyyy'}} |
- | {{to |date:'MM-dd-yyyy'}} |
Employee's Name | CashCard | E-Money Card Account# | Salary |
---|---|---|---|
{{item.fullname}} | 0037 | {{item.ecardacctno}} | |
No Data | |||
As you can see the fixed data in my table is the cashcard field, the salary field which is blank,i will input some amount there and i'd like to export it to excel.The fields i'm going to export only are cashcard,E-money account and salary thanks
so - you have a table with many fields, but you only want to work with a few of them - is that correct?
Are all data in one HTML table?
@johnmichaelrivera Any news on this?
@johnmichaelrivera Any news on this?
Closing due to inactivity. Please reopen if needed.
I suggest if xslx.core is not present when
SELECT INTO XSLX()
is called we display a more meaningful error message in the console instead of: