Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

XLS export #37

Open
vincentjames501 opened this issue Feb 5, 2015 · 0 comments
Open

XLS export #37

vincentjames501 opened this issue Feb 5, 2015 · 0 comments
Assignees

Comments

@vincentjames501
Copy link

Two things:

  1. It would be nice to add an option to enable/disable both csv and xls exporting individually via something like:
exporting: {
  enabled: true,
  csv: {
    itemDelimiter: ',',
    xlsEnabled: false
  }
},
  1. The XLS exporting doesn't appear to be working correctly for me. I can't seem to view the generated output it in Numbers or upload to Google Drive for viewing:
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";}</style><meta name=ProgId content=Excel.Sheet></head><body><table><tr><th>Category</th><th>Percentage of users</th></tr><tr><td>Yes, I am safe</td><td class="number">1</td></tr><tr><td>No, I am not safe</td><td class="number">0</td></tr><tr><td>Unreceived</td><td class="number">4</td></tr></table></body></html>

Running the above through an XML validator I'm notified that it's not valid XML.

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants