FixedHeader not working with

FixedHeader not working with

smelchersmelcher Posts: 45Questions: 13Answers: 0

If I add a <caption> to my table, FixedHeader draws the overlaying columns on top of the <caption> element. The net effect is that it shows two <theader> rows

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin

    Thank you for pointing that out. That is a deficiency in the FixedHeader extension. I've added this to my list of things to fix :-). It might be a little while before I get the time to fix it, but it will be done.

    Allan

  • smelchersmelcher Posts: 45Questions: 13Answers: 0

    In the _fnMeasure function I made the following change that seems to work for me:
    //m.iTableTop = oOffset.top + iParentScrollTop;
    m.iTableTop = oOffset.top + iParentScrollTop+$('caption').height();

    This probably doesn't solve the problem for all scenarios but I feel like it must be in the right direction

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin

    Thanks :-). That looks like the correct idea.

    Allan

This discussion has been closed.