Loading performance very slow for excel, pdf and print js files

Loading performance very slow for excel, pdf and print js files

macharjyamacharjya Posts: 3Questions: 2Answers: 0
edited September 2019 in Free community support

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.

Answers

  • macharjyamacharjya Posts: 3Questions: 2Answers: 0

    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'
    ]

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

This discussion has been closed.