Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
830
Export Hierarichal Grid Error
posted

Hi,

I am exporrting igHierarchicalGrid but getting error infragistics.excel.js:88 Uncaught TypeError: $$t.$fw.getBox is not a function(…)


I am loading file in this order 

<script src="/plugins/infragistics/js/infragistics.loader.js"></script>
<script src="/plugins/infragistics/js/infragistics.core.js"></script>
<script src="/plugins/infragistics/js/infragistics.dv.js"></script>
<script src="/plugins/infragistics/js/infragistics.lob.js"></script>
<script src="/plugins/infragistics/js/infragistics.gridexcelexporter.js"></script>
<script src="/plugins/infragistics/js/infragistics.excel.js"></script>
<script src="/plugins/infragistics/js/FileSaver.js"></script>
<script src="/plugins/infragistics/js/Blob.js"></script>

If I don't include infragistics.excel.js I get following error infragistics.gridexcelexporter.js:23 Uncaught TypeError: Cannot read property 'Workbook' of undefined(…)

This happens for igGrid Export as well.

I am calling Ecport grid as follows

$("#exportButton").on("onclick", function () {
$.ig.GridExcelExporter.exportGrid($("#Grid"), {
fileName: "igGrid",
worksheetName: "Sheet1",
tableStyle: "tableStyleLight13",
dataExportMode: "allRows"
});
});

Please help.

Parents Reply Children