TableTools 2.0.1 + DataTables 1.8.1 : problem with sScrollY parameter

TableTools 2.0.1 + DataTables 1.8.1 : problem with sScrollY parameter

claudebclaudeb Posts: 2Questions: 0Answers: 0
edited July 2011 in Bug reports
Including TableTools buttons seems to disable the sScrollY feature (recent Chrome and Firefox).

My initialization code:

/* Init DataTables */
var oTable = $('#mytable').dataTable( {

"bAutoWidth":false,
"bFilter":false,
"bInfo":false,
"bPaginate":false,
"bProcessing":false,
"bStateSave":false,
"sScrollY":"580px",
"bScrollCollapse":true,
"bSorting":false,
"aaSorting": [[ 0, "desc" ]],

"sDom": '<"ttbuttons"T>',
"oTableTools":{
"sSwfPath": "/swf/copy_cvs_xls_pdf.swf",
"aButtons": [ "copy", "csv", "print" ]

}
} );

Thanks.

Replies

  • claudebclaudeb Posts: 2Questions: 0Answers: 0
    Ooops, my sDom attribute was wrong... it works better with
    [code]
    "sDom": '<"ttbuttons"T>t',
    [/code]

    So no bug here.
This discussion has been closed.