DataTables logo DataTables

via Ad Packs
[bug with fix] FixedHeader left with th elements
  • Hey, I just wanted to report that FixedHeader (left) doesn't work with TH elements. Obviously it makes sense that if you want to lock the left part, it's some kind of a header and dataTables itself supports TH elements in the table body.

    Quick fix for current nightly:
    Line 746:
    Change:
    $('td:gt(0)', this).remove();
    To:
    $('th, td', this).filter(':gt(0)').remove();

    Anyway, still having some other strange Issues with FixedHeader left.. like positioning issues and it seems that it's modifying my original table. I'll have to look into it..
  • 1 Comment sorted by
  • The above works for me, thanks! (I also have some other issues, though.)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Support

Get useful and friendly help straight from the source.

In this Discussion