fixedHeader Extension not working, no idea why

fixedHeader Extension not working, no idea why

legamasterlegamaster Posts: 4Questions: 2Answers: 1
edited July 2016 in Free community support

Hi,

I have a problem with the fixedHeader Extension. I created this http://live.datatables.net/bulekeyi/1/edit example. I have no idea why it isn't working this time. It already worked for me on another site and now it isn't so I am bit confused...

I would appreciate any help.

Thanks in advance

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,315Questions: 1Answers: 10,225 Site admin

    Hi,

    Thanks for the link! The issue there was just the library loading order. It needs to be jQuery, then DataTables, then the extensions in any order: http://live.datatables.net/bulekeyi/3/edit .

    The live.datatables.net include is a bit broken in that regard, when you select a new library it inserts it at the start of the head tag for some reason, where as appending it would seem to be a better solution... Not sure why it does that - need to look into it!

    The best way to make sure you get all the files you need and in a valid order is to use the download builder.

    Regards,
    Allan

  • legamasterlegamaster Posts: 4Questions: 2Answers: 1
    Answer ✓

    Hi,

    the problem was not the initialisation of the datatable/fixedHeader. It was a ccs problem, the z-index of the fixed header was too low, so that it was not visible. The problem at this specific site, was that the datatable is opened in a dialog and the z-Index of the dialog was increased.

    So it is/was a very specific problem. But Allan gave me support and found the solution.

    Regards,
    Denis

This discussion has been closed.