Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

Exporting not working using jqueryTabs and TableTool

$
0
0
I have a problem with my Exporting buttons: it works just for the first jQuery Table, but in other tables it doesn't work.

I have included all what needs to be included.

Here is an example for 2 jqueryTabs:

var jQuery2 = jQuery.noConflict();
jQuery2(document).ready(function() {

    jQuery2('#t1').dataTable( {
        "bJQueryUI": true,
        "bScrollCollapse": true,
        "sDom": 'T<"clear">lfrtip',

        "oTableTools": {
            "aButtons": [
                "copy",
                "csv",
                "xls",
                {
                    "sExtends": "pdf",
                    "sPdfOrientation":"landscape",
                    "sPdfMessage": "Your custom message would go here."
                },
                "print"
            ]
        }
    });
    jQuery2('#t2').dataTable( {
        "bJQueryUI": true,
        "bScrollCollapse": true,
        "sDom": 'T<"clear">lfrtip',
        "oTableTools": {
            "aButtons": [
                "copy",
                "csv",
                "xls",
                {
                    "sExtends": "pdf","sPdfOrientation": "landscape",
                    "sPdfMessage": "Your custom message would go here."
                },
                "print"
            ]
        }
    } );

});

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>