我一直在寻找使表格具有固定标题的方法,尤其是在 IE8 中。我注意到大多数 jquery 插件都可以实现这一点,但这样做时它们将表分成两部分,通常是 2 个单独的 div,一个包含 thead 内容,另一个包含 tbody
这非常棒,但是我将如何向表中添加排序。我发现大多数 jquery 插件仅在表格包含 thead 和 tbody 时才起作用。
有没有jquery插件可以做到这一点?理想情况下,如果像 tablesorter 这样的 jQuery 插件可以为 thead 提供一个 id,为 tbody 提供一个 id,那就太好了
我确实遇到过这个演示,它正是我所需要的,但它使用的是 Prototype 而不是 jquery
Demo scroll to the bottom to Table 6 (it has scrolling and sorting)
干杯
抢
最佳答案
本博客的一部分结合了 jquery rollablefixedheadertable 和 jquery tablesorter
关于jquery - 有没有用于表格固定标题和排序的 jQuery 插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2697827/