Loading performance very slow for excel, pdf and print js files
Loading performance very slow for excel, pdf and print js files
macharjya
Posts: 3Questions: 2Answers: 0
Hi Team,
It's working fine when we load datatable data. but it's too much time during page load for below js file:
pdfmake.min.js
vfs_fonts.js
buttons.print.min.js
jszip.min.js
Also the table is being generated dynamically.
var ReportDashboard='<table id="report_dashboard" class="display"><thead><tr><th>Name</th><th>Company</th><th>Job Title</th><th>Email</th><th>Office Phone</th><th>Mobile</th></tr></thead><tbody id="idReportBody"></tbody></table>';
function page_init(){
jQuery("[id='ViewReport']").append(ReportDashboard);
$('#report_dashboard').DataTable({
dom: 'Bfrtip',
buttons: [
'excel', 'pdf', 'print'
]
});
}
Could you please suggest
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
Issue is with during page loading. It's loading fine in google chrome but loading issue is with IE 11. particularly when I place below code:
buttons: [
'excel', 'pdf', 'print'
]
Hi @macharjya ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin