Hi Team,
I need to export grid as well as hierarchical grid to excel/pdf.
I am using the below code:
function exportToExcel() { $.ig.GridExcelExporter.export($("#gridCategory"), {
dataExportMode: $("#dataExportMode").val() });
The export functionality is not working and is giving the error:
I am using the version: 13.2.20132.1010 (as mentioned in infragistics.core.js file)
Hi,
This is strange since in the attached sample all IgniteUI js resources are of the same version. Anyway, it is possible you have been referring a diff version elsewhere in the project.
If you managed to get the grid rendered and then you have this error on exporting, please make a snapshot of the error again and provide the igGrid initialization code generated on the client - this will be enough for me to investigate and suggest solution/fix for the issue. Looking forward to hearing from you.
I just checked, there is some issue in the infragistics.lob.js file. I have only the infragistics.lob.js file of the old version, rest all (dll and other js of the new version, the data is displayed).
But again, with this, for export I get the below error:
Uncaught TypeError: Object [object Object] has no method 'headersTable'
This is really taking a long time and I do not have any clue how and where to proceed.
-Regards,
Agraj
Hi Hristo,
Thank you for your response.
When I just replace the infragistics.lob.js and infragistics.core.js files to the old version, data is displayed in the Grid without any code change. But again when I switch these files to newer version, there is no data.
I tried clearing the browser history, cleaning the solution. Attaching the browser screenshot with the console error in the below pane.
Request you to please help me solve this long pending issue at the earliest.
Hi Agraj,
Thank you for the sample shared. Actually I configured it to bind to my local sql database and grid loads fine without any errors, also exporting works fine without touching the code.
I suggest you reaasure that column keys match the datafield names as they come from the sql. If you do not manage to figure this out we can arrange a live web session. Looking forward to hearing from you.
Any updates on the issue I am facing?