Fix Header Not Adjusting
Fix Header Not Adjusting
varini_matias
Posts: 3Questions: 0Answers: 0
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
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
This discussion has been closed.
Replies
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.