TableTools and Adminica

TableTools and Adminica

CianHCianH Posts: 1Questions: 0Answers: 0
edited February 2012 in TableTools
Hi Guys,

Ive been trying to add TableTools to DataTables, but it wont display the buttons on DataTables: Picture: http://gyazo.com/ce4e149d757920bbaa1a2de6543d3a25.png?1328355157
The Code is:
[quote][code]
var table1 = $('#dt1 .datatable').dataTable( {
"bJQueryUI": true,
"sScrollX": "",
"bSortClasses": false,
"aaSorting": [[0,'asc']],
"bAutoWidth": true,
"bInfo": true,
"sScrollX": "101%",
"bScrollCollapse": true,
"sPaginationType": "full_numbers",
"bRetrieve": true,
"sDom": '<"H"lTfr>t<"F"ip>',
"oTableTools": {
"aButtons": [ "copy", "print" ]
},
"fnInitComplete": function () {

$("#dt1 .dataTables_length > label > select").uniform();
$("#dt1 .dataTables_filter input[type=text]").addClass("text");
$(".datatable").css("visibility","visible");

}
});
[/code][/quote]
im guessing the problem is todo with the sDom but cannot fogure out how to get it working with Adminica.
Kind Regards Cian

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    edited February 2012
    Looks fine to me. Have you included the TableTools JS file?

    Allan
This discussion has been closed.