Button 1.1.2 vs 1.2.4

Button 1.1.2 vs 1.2.4

lordterrinlordterrin Posts: 22Questions: 10Answers: 1

Hi @allan ,

I've been running buttons 1.1.2 for quite some time. I had posted another post that you said you were going to look into related to number formatting of text strings that seems to happen in 1.2.4 and NOT in 1.1.2, but I found that in my test environment, most of my larger tables are breaking Chrome as well now. It's enough of a bug that I cannot move forward with this version, despite how amazing the auto-width and color shading is. I wanted to give you a heads up on the issue in the event you wanted to look into it.

/* 1.1.2 Setup */
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/select/1.1.0/js/dataTables.select.min.js"></script>
<script type="text/javascript" language="javascript" src="../../js/dataTables.bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/select/1.1.0/css/select.dataTables.min.css">
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/buttons.html5.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/buttons.print.min.js"></script>
<script type="text/javascript" language="javascript" src="../../plugins/jqueryDataTables/dataTables.colReorder.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../plugins/jqueryDataTables/colReorder.dataTables.min.css">

/* 1.2.4 Setup */
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/select/1.1.0/js/dataTables.select.min.js"></script>
<script type="text/javascript" language="javascript" src="../../js/dataTables.bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/select/1.1.0/css/select.dataTables.min.css">
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.2.4/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.2.4/js/buttons.html5.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.2.4/js/buttons.print.min.js"></script>
<script type="text/javascript" language="javascript" src="../../plugins/jqueryDataTables/dataTables.colReorder.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../plugins/jqueryDataTables/colReorder.dataTables.min.css">

I'm not sure if there's something else in the scripts I'm loading that would cause this - maybe I need to use a later version of the actual dataTables.min.js script? - but smaller tables are exporting just fine, it's just my larger tables (5,000+ rows, 50+ columns) that are causing Chrome to crash with 1.2.4.

Replies

  • allanallan Posts: 63,876Questions: 1Answers: 10,529 Site admin

    Can you give me a link to the page showing the issue so I can profile it and figure out what is going wrong please?

    Thanks,
    Allan

This discussion has been closed.