FixedHeader versus tag

FixedHeader versus tag

tangerinetangerine Posts: 3,365Questions: 39Answers: 395
edited September 2013 in General
From what I can find in the Forum, FixedHeader is not compatible with the HTML tag.
Is there any likelihood of this getting fixed?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    So the caption tag would also be fixed in place?

    Its not likely to be fixed in the immediate future, unless someone is willing to either do or sponsor the work, as the priority is to get DataTables 1.10 out just now, but ultimately, yes it would be good to get this to work correctly.

    Allan
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Ok, thanks.
    But I don't really mean "the caption tag would also be fixed in place". I'm just saying that is a legitimate HTML table tag, and it would be good if Datatables could honour it as such.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    DataTables itself does - but you note that it isn't working with FixedHeader. Is it just misaligned or something? (On iPad at the moment, so not too easy to test here - sorry).

    Allan
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Sorry, Allan - I assumed that this was a known anomaly as I found it in the forum: if a tag is used with FixedHeader, the table headers are duplicated i.e. they appear twice.
    I've accepted the forum's word for this - now I'll check it out for myself by temporarily removing my tags. I'll come back later.
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Yes - without a tag, FixedHeader works fine. With my tag put back in the table, the headers are duplicated. Initial display is fine, but as soon as you start moving the table a duplicate header appears where the caption should be.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Ah yes - it is a known issue, sorry about that. With 17'000+ threads in the forum, me memory needs to be jogged every now and then... There is also a bug about it in Github which I'd clean forgotten was there as well: https://github.com/DataTables/FixedHeader/issues/6 . As a bug / feature request, that's the best place for these issues - I just need to get some time to resolve them :-)

    Allan
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Ok, thanks. I hope I don't sound like I'm complaining - I do know you have a squillion things to do!
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Not at all - thanks for the reminder about this, it's very much in the direction I want to take DataTables! I'm sure everyone who visits this forum also at some point thinks "if only there were 26 hours in a day...". :-).

    Allan
This discussion has been closed.