FixedHeader Error: TypeError: jQuery.browser is undefined

FixedHeader Error: TypeError: jQuery.browser is undefined

ccztuxccztux Posts: 2Questions: 0Answers: 0
edited November 2013 in FixedHeader
Hi!

Hope somebody can help me. I am using DataTables 1.9.4 with TableTools, ColmnReorder and FixedHeader. Unfortunately FixedHeaders are not working. I get following error when refreshing site with firebug/konsole:

TypeError: jQuery.browser is undefined
https://10.66.77.200/app/lib/jquery_plugins/DataTables-1.9.4/extras/FixedHeader/js/FixedHeader.js
Line 267

The way i initialize the datatable:

$(document).ready( function () {
var oTable = $('#myTable').dataTable( {
"iDisplayLength": 25,
"aLengthMenu": [[25, 50, 100, 250, 500, -1], [25, 50, 100, 250, 500, "All"]],
"bStateSave": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": 'T<"clear">R<"H"lfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "./lib/jquery_plugins/DataTables-1.9.4/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
}
} );
new FixedHeader( oTable );
});


The jquery version i am using is: 1.10.2.

Many thanks for advice.

Regards

Replies

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Please use the FixedHeader nightly, which is available on the downloads page: http://datatables.net/download .

    Allan
  • ccztuxccztux Posts: 2Questions: 0Answers: 0
    Thanks, it works! :-)
    Is ther any chance to get jquery-ui working with FixedHeader? The header ist not shown with ui-style.

    ccztux
This discussion has been closed.