Greetings, I'm working on a reporting system for a financial institution, so my first thought was to use tablesorter. However, one of the columns consist of img tags that show stars, and the column needs to be sorted by the number of 'stars' being shown. Since I doubt there's a custom 'stars' parser type, I decided to write my own parser that splits by the tag, and counts up the .length of the split and uses that as a value. I tested this, and much to my happiness, it worked!
Then, after reviewing the spec, the header to sort by needs to be colspanned, as it covers 2 cells, the 'stars' and the number of funds associated with the stars. I thought, 'no problem! Tablesorter takes colspans into consideration when sorting!' However, when I added the colspan='2' I found that the first column with a colspan (there's 4 total) works perfectly. Every column after that is sorting by the wrong column. Specifically, it is sorting by the column consisting of the number of funds in the previous column. The only thing I can think of at the moment is that perhaps the standard parsers of 'digit', 'text', etc are running colspan checks, but custom parsers aren't subject to that. Anyone had a similar problem and/or have any insight on how to resolve it? Thanks for your assistance.