开发者

Any jQuery plugins for tables fixed header and sorting together?

开发者 https://www.devze.com 2022-12-27 17:49 出处:网络
I\'ve been looking at ways to make a table have a fixed header especially in IE8. I noticed that most jquery plugins can achieve this but in doing so they split the table into two sections usually 2 s

I've been looking at ways to make a table have a fixed header especially in IE8. I noticed that most jquery plugins can achieve this but in doing so they split the table into two sections usually 2 separate divs one containing the thead stuff and the other tbody

This works fantastic but how would I go about adding sorting to the table. Most jquery plugins I found only work when the table contains a thead and tbody in one.

Are there any jquery plugins that can do this? Ideally it would be great if the jQuery plugin like tablesorter can be given an id for thead an one for tbody

I did come across this demo which is exactly what I need but it's using Prototype instead of jquery

Demo scroll to the bottom to Table 6 (it has scrolli开发者_如何学Gong and sorting)

Cheers

Rob


A section of this blog combines jquery scrollablefixedheadertable and jquery tablesorter

Here's the link. http://jeromebulanadi.wordpress.com/2010/03/22/scrollable-fixed-header-table-a-jquery-plugin/#integration


http://www.tablefixedheader.com/fullpagedemo/

Tablefixedheader may not clearly state this, but as seen in example #5, it can quite simply be modified to be sortable.

0

精彩评论

暂无评论...
验证码 换一张
取 消