-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing support using tableSorter with jquery 4 #1849
Comments
also |
Apparently, there's an extra library to load, jQuery migrate, https://github.com/jquery/jquery-migrate which should re-add the depreciated stuff. |
Thanks Andrew Murphy The code that you sent to me helped me to translate the problems in my code that not support in jQuery version 4. I hope that the developers of the wonderful product called tablesorter will solve the problems of computability with jQuery version 4. I don't see any advantage in working with jQuery when pure JavaScript (vanilla) |
hii @aavmurphy I am not the Developer of tableSort A little tip |
A v4 of 'jQuery migrate' isn't out yet, only a v3 one for the last lot of changes. |
I am apologize @aavmurphy I hope you will adopt the change and give me feedback. |
@AviHafner That link doesn't seem to work - maybe its not a public website. However, I'm not an admin. Have to wait for 'Mottie' to include the changes I'm afraid. Having said that, am thinking of porting it to "vanilla" javascript. But it will be more of a re-imagining, so some changes. Will take a while though. There's an awful lot to do. |
@aavmurphy Please check the following link I hope you can use the wonderful product tablesorter. |
@aavmurphy |
I don't want to use tablesorter with jquery 4 (yet), but my build which includes org.webjars.bower:jquery.tablesorter:2.31.1 seems to be dragging in jquery 4, and making the build fail. Does anyone know how I can force it to keep using jquery3 ?
|
If you load tablesorter immediately after loading jQuery v3, it should attach itself to that version. Make sure to use |
Thank you and welcome back @Mottie Do you have any forecast for when you will release a suitable version for Jquery version 4? |
That didn't seem to work for me, it wanted to drag in both versions. However this did work:
|
@AviHafner I'm finding small chunks of time to work on various projects (including tablesorter). I don't have a timeline of when I'll update tablesorter to work with jQuery, but I will say that it's ongoing. |
Many thanks in advance @Mottie . |
This (almost) works
The 'release' version of jQuery Migrate for v4 isn't out yet, but the nightly build version is almost there. It re-adds some function calls that v4 takes out |
I think you should release another version that merely restricts the jQuery version it drags in to 3.x. it will be a while until everything supports 4, and we want to use it. |
I'm new here Mr. @Mottie browsing your project documentation, this table-sorter is the best i have ever seen, I'm looking forward for the newer version of this project |
Sorry if I got anyone's hopes up... I got a request to update npm with the latest code, so that's all I did 😿 I had the jQuery v4 work in progress, but after seeing so many demo pages failing, I got sidetracked updating them one-by-one... and that'll be a lot more work. |
Related: WordPress are planning to move to jQuery 4 in 2025: https://make.wordpress.org/core/2024/08/23/updating-jquery-shipped-with-wordpress-to-version-4-0/ |
when using tableSorter with Jquery-4
The error is received
jquery.tablesorter.widgets.min.js:4 Uncaught TypeError: e.sort is not a function
Please add support in Jquery-4
The text was updated successfully, but these errors were encountered: