shockwave plugin is not responding when export PDF @ datatable clientside

shockwave plugin is not responding when export PDF @ datatable clientside

ManiPSManiPS Posts: 28Questions: 12Answers: 0

I am trying to export table into PDF file.

It works fine when the data is less.

But, when the datatable row is excessive(more than 2000 rows), I am getting error that "shockwave plugin is not responding" and page gets unresponsive.

Issue is on Chrome.
Datatable generation code is below here,

var includedColumns = [];
includedColumns.push(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);

var oActivityTable = $('#activitiesReportTable').dataTable({
    "paging": true, "ordering": true, "searching": true,
    "sPaginationType": "full_numbers",
    "ordering": false,
    "dom": 'T<"clear">lfrtip',
    "bAutoWidth": true,
    "tableTools": {
        "aButtons": [
            {
                "sExtends": "xls",
                "sFileName": "*.xls",
                "mColumns": includedColumns
            },
            {
                "sExtends": "csv",
                "bBomInc": true,
                "mColumns": includedColumns
            },
            {
                "sExtends": "pdf",
                "bBomInc": true,
                "mColumns": includedColumns
            }
        ],
        "sSwfPath": "//cdn.datatables.net/tabletools/2.2.2/swf/copy_csv_xls_pdf.swf"
    }
});

Please help me that how to fix it.

Thanks in advance

This discussion has been closed.