I have a table with fixed header 开发者_如何学Goand scrollable body. The issue is - if I scroll down or scroll left the body and after adding new row the scroll position of tbody resets in IE. In other browsers all works fine.
For do tbody scrollable I use styles display:block and positon:fixed. I use "fixed" because it works for IE for scrolling.
See simple example on jsfiddle (click on row to add new one)
I have tried in IE8. The scroll position does not reset if to replace the tbody.find("tr").live()
with tbody.find("tr").bind()
. Try to use if($.browser.msie)
condition to use it in IE.
精彩评论