Tablesorter is not working for me
Hi,
I am Saurav, I work as Salesforce Developer. I used tablesorter in a visual force page to sort data in columns of a table.
Before 24/03/2021, The sorter was working fine in my org. Next day, I opened it the page wasn't loading so I went to debug my code. I found that the sortDirection='ASC','▼','▲' was updated with sortDirection='ASC','â–¼','â–²', And I changed it back, but no success. The table doesn't show any data although, they are present in debug. I tried with backup code but again it didn't work. I even used my production org's code but surprisingly it didn't work either.
Did you update anything from your end? When was the current version posted? Could you please give some advice to solve the issue?
I would be really grateful.
Thank you for your amazing tool.
Hi @ItisSaurav!
As you can see from the commit list, no significant changes have been made in over a year - yikes, I've been neglecting this library!
First off, I don't recognize the sortDirection='ASC','▼','▲' reference, maybe you're not using this specific tablesorter library?
Having the page encoding change like that sounds like the HTML charset meta tag (<meta charset="utf-8"> ) is missing or has changed and/or make sure the code editor you're using is set to save the page in the same charset encoding (e.g. how to save the file in UTF-8 for VSCode). And lastly, ensure that the page language hasn't changed (<html lang="en"> for English websites).
Hopefully that helps. If not, please share more specifics about your version of tablesorter and what version of jQuery you're using.