FixedHeader plugin not working

FixedHeader plugin not working

valdezrvaldezr Posts: 49Questions: 0Answers: 0
edited March 2010 in General
I took the ZeroConfig example

$(document).ready(function() {
console.profile( );
var dTable = $('#example').dataTable();
new FixedHeader( dTable );
console.profileEnd();

} );

but I can not get the header fixed.

I tried it with 1.5 and 1.6.2 versions
I hope you can help me.

Thanks in advance

Replies

  • valdezrvaldezr Posts: 49Questions: 0Answers: 0
    Now it is working with version 1.6.2
    but not with 1.5
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    FixedHeader 2.x requires DataTables 1.6.x. There is a piece of code in there to check for that - which should throw an alert if it's not found to be 1.6 or newer. The 'if' statement for this wasn't quite right - but it should still have caused a Javascript error. The check will be refined in the next release.

    Allan
  • valdezrvaldezr Posts: 49Questions: 0Answers: 0
    Yes now it is working with 1.6
This discussion has been closed.