Does WebDataRocks use other libraries for Excel, PDF & HTML Exports?


The Excel, PDF & HTML exports don’t work when run locally.  In scanning the javascript, I see what appears to be references to other libraries that don’t appear to be bundled in For example, the following code would suggest a docProps and xl folder that are not part of the download.
var M3m = “docProps/core.xml”;
var I3m = “STORE”;
var n3m = “uint8array”;
var x3m = “docProps/app.xml”;
var H3m = “xl/theme/theme1.xml”;
var q3m = “xl/worksheets/sheet”;
var k3m = “_rels/.rels”;
var Q3m = “xl/workbook.xml”;
var h3m = “xl/sharedStrings.xml”;
var z3m = “xl/_rels/workbook.xml.rels”;
var C3m = “xl/styles.xml”;

3 answers

WebDataRocks Team WebDataRocks May 1, 2020

Thank you for reaching out to us.
Concerning the code block you have provided, we would like to explain that the mentioned variables are used while building the exported Excel file. Such variables are not references and are not trying to access nonexistent libraries.
Our team would like to kindly take an interest in whether any exception appear in your browser’s console when trying to perform an export.
We recommend checking whether the problem persists when using other data sets.
Also, it would be dramatically useful for our research if you could provide us with a sample project where the problem would be reproducible so that we could investigate it on our side.
Finally, we suggest adding the following code snippet to the <head> part of the web-page where the component is placed in order to make sure that the problem is not because of incorrectly specified encoding.

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

We are looking forward to hearing from you.
WebDataRocks Team

Loyal Pridgen May 1, 2020

Thanks for your response.  The addition of the <head> text fixed the problem.  You should include that in the “Step 1: Include” code on the Quick Start page as that example does not work without that text either.  So it should be:
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<div id=”wdr-component”></div>
<link href=”” rel=”stylesheet”/>
<script src=””></script>
<script src=””></script>
var pivot = new WebDataRocks({
container: “#wdr-component”,
toolbar: true,
report: {
dataSource: {
filename: “”

WebDataRocks Team WebDataRocks May 11, 2020

Thank you for sharing your ideas with us.
We will consider adding the mentioned part to our documentation.
Please contact us in case further questions arise.
Best regards,
WebDataRocks Team