0

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 collapse 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 fixHeader.fnUpdate(); 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")

4

1 回答 1

0

我找到了解决它的方法,尽管我认为这不是最好的方法。

每当出现slideUp 或slideDown 时,我都会使用$('.fixedHeader').remove();删除fixHeader,并在完整的函数上再次创建fixHeader。

于 2013-10-08T12:06:11.370 回答