[bug with fix] FixedHeader left with th elements

[bug with fix] FixedHeader left with th elements

fabio_scalafabio_scala Posts: 1Questions: 0Answers: 0
edited December 2011 in FixedHeader
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: [code]$('td:gt(0)', this).remove();[/code]
To: [code]$('th, td', this).filter(':gt(0)').remove();[/code]

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..

Replies

  • WodinWodin Posts: 17Questions: 0Answers: 0
    The above works for me, thanks! (I also have some other issues, though.)
This discussion has been closed.