使用 JQuery Tablesorter Pager 的列突出显示问题
基本上发生的事情是,我有一个使用 JQuery 表排序器的表,当您单击标题中的元素时,该列将被排序,并且我会向其中添加一类突出显示。这我没有问题。
当我为表格排序器添加寻呼机插件时,一切都变得颠倒了!就像 cellIndex 正在改变一样,因此突出显示不会在寻呼机的所有页面上继续!实在是太烦人了!!任何帮助都会很棒!
干杯, 菲茨
basically what is happening is that i have a table using the JQuery Table Sorter and when you click on an element within the thead, the column is sorted and i add a class of highlighted to it. This i have no issue with.
When i add in the Pager plugin for the table sorter everything goes topsy turvey! It is like the cellIndex is changing so the highlighting doesnt continue across all the pages of the pager!! Its extreamly anoying!! Any help would be fantastic!!
Cheers,
Fitz
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜...但是当您使用 zebra 小部件时,它默认添加“奇数”和“偶数”的类名来进行样式设置。因此,只需更改
widgetZebra
选项以匹配您的 CSS 样式:I'm guessing... But when you use the zebra widget, it, by default adds class names of "odd" and "even" for styling. So just change the
widgetZebra
option to match your css styling: