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

sInfo text for Print and Copy buttons Not working

$
0
0
Below is my setup to the datatable using tabletools. My issue is i cannot get the "sInfo" text to be displayed when Copy or Print buttons are being used. It always display a empty white box.

Am i missing something? or is this a issue in TableTools?

Thanks


                    $(document).ready(function()
                    {
                    oTable = $('#FIELD_NUM_71').dataTable(
                    {
                    "sScrollX": "100%",
                    "bAutoWidth": false,
                    "aoColumnDefs": [{"sWidth": "3em", "aTargets": [ 0 ]},
                                     {"bSortable": false, "aTargets": [0] }],
                    "bProcessing": true,
                    "bJQueryUI": true,
                    "oLanguage": {"sSearch": "Filter:"},
                    "sPaginationType": "full_numbers",
		      "iDisplayLength": 10,
                    "aLengthMenu": [[10,25,50,100,-1], [10,25,50,100,"All"]],
                    "iDisplayStart": 0,
                    "sDom": '<"H"Tlfr>t<"F"ip>',
                    "oTableTools": { "aButtons": [	{
								"sExtends": "copy",
								"sToolTip": "Copy to Clipboard",
								"sInfo": "Table Copied to Clipboard",
								"mColumns": "sortable"
								}, 
								{
								"sExtends": "xls",
								"sTitle": "My title",
								"sToolTip": "Save as Excel Worksheet",
								"sFileName": "*_TableTools.pdf",
								"mColumns": "sortable"
								}, 
								{
								"sExtends": "pdf",
								"sPdfOrientation": "landscape",
								"sTitle": "My title",
								"sToolTip": "Save as PDF",
								"sFileName": "*_TableTools.pdf",
								"sPdfMessage": "RTCIS Message Here.",
								"mColumns": "sortable"
								}, 
								{
								"sExtends": "print",
								"sInfo": "RTCIS Table Print, Please press escape when done",
								"sMessage": "RTCIS Scroll Area",
								"bShowAll": false,
								"mColumns": "sortable"
								
								}],
                                     "sSwfPath": "../web/thirdparty/datatables/1.9.4/extras/TableTools/media/swf/copy_csv_xls_pdf.swf" }
                    });
                    

                    });

Viewing all articles
Browse latest Browse all 82117

Trending Articles



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