Fix Header Not Adjusting

Fix Header Not Adjusting

varini_matiasvarini_matias Posts: 3Questions: 0Answers: 0
edited September 2013 in FixedHeader
Hi,

I have a table that´s using Fix Header without initializing it as a DataTable because I need to use rowspan on the body. The fix header initialize ok but whenever another jquery event like colapse on the page occurs, the fix header looses its position and won´t came back unless I scroll the page with the mouse.

I tried to use the [code]fixHeader.fnUpdate();[/code] but it didn´t work for me.

Any ideas?

I leave you the link to the live example.

http://jsfiddle.net/varini_matias/Qd5ju/9/

http://jsfiddle.net/varini_matias/Qd5ju/7/embedded/result/

(click on the message that says "Click here to see the problem")

Thanks in advance,

Matias

Replies

  • varini_matiasvarini_matias Posts: 3Questions: 0Answers: 0
    No idea?
  • varini_matiasvarini_matias Posts: 3Questions: 0Answers: 0
    I found a way to solve it, although i do not think is the best one.

    I use the `$('.fixedHeader').remove();` to remove the fixHeader whenever the slideUp or slideDown occurs and on the complete function I create again the fixHeader.
This discussion has been closed.