I have a problem highlighting a column when using Tablesorter and Pager. The column seems to highlight initially, but after using the pager then it goes wrong.
Here is the link: http://www.moneycheckerpen.com/test/test-tablesorter.html
The problem: Initially the column highlights correctly when the sortable headers are clicked. The problem seems to occur after the table pager is used. Then some cells in the column are highlighted and some some are not. Some cells in the unclicked (header) columns become highlighted.
I have put an alert message to display the intended column (class td's) to be highlighted. This displays correctly. The column does highlight correctly before the aler开发者_开发问答t message and then does not highlight properly immediately after it.
I wish the column to be simply highlighted when the corresponding (sortable) column header is clicked.
Many Thanks.
It looks like you're just missing the css theme file, try adding this:
<link href="http://tablesorter.com/themes/blue/style.css" type="text/css" rel="stylesheet" />
And of course, point to your own stylesheet once you've confirmed this is the problem.
精彩评论