FixedHeader ie8 ie7 warning

FixedHeader ie8 ie7 warning

d3l3pd3l3p Posts: 3Questions: 0Answers: 0
edited October 2009 in General
Hi,
Sorry about my pour english.

i've this error when i click on the colunm to sorting :
'oSettings.aoColumns[...].bSortable' a la valeur Null ou n'est pas un objet.
jquery.dataTables.min.js, Ligne 231 Carac 63

On Firefox / chrome i've no error

[code]







$(document).ready(function() {

var oTable = $('#budgetTable').dataTable({
"bPaginate": false,
"aaSorting": [[0,'asc'], [1,'asc'], [2,'asc']],
"aoColumns": [
{"bSearchable": false, "bSortable": false },
null,
null,
null,
null,
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false },
{"bSearchable": false, "bSortable": false }
],
"sDom": 'T<"clear">lfrtip'

});
$.fn.dataTableExt.FixedHeader( oTable );
});


[/code]
Thk

Replies

  • allanallan Posts: 61,762Questions: 1Answers: 10,111 Site admin
    Hi d3l3p,

    I'm afraid I can't actually test this at the moment as I'm travelling, and will be for the next little while. But don't worry, this issue won't be forgotten about - I've noted your post to my to-do list, and as soon as I get a change I'll try to recreate this issue and figure out what is going on :-). If you have any more insights, please let us know.

    Regards,
    Allan
  • d3l3pd3l3p Posts: 3Questions: 0Answers: 0
    ok thanks allan i'm waiting for your help.
  • allanallan Posts: 61,762Questions: 1Answers: 10,111 Site admin
    Hi d3l3p,

    A slightly tricky one this one, but got to the bottom of it in the end :-). The issue was that when you clone a node in IE, it clones the event handlers as well, which I wasn't expecting (since other browsers don't do this). This was causing all sorts of issues with IE and jQuery, but armed with this knowledge, I've got a fix for it now. I've just released v1.0.2 of FixedHeader which addresses this issue: http://datatables.net/release-datatables/extras/FixedHeader/FixedHeader.js :-)

    Regards,
    Allan
  • d3l3pd3l3p Posts: 3Questions: 0Answers: 0
    hi Allan,
    It's fine ! Good job :)
    Thanks a lot !
This discussion has been closed.