I found a solution that worked for me:
var usersTable = $(".tablesorter");
usersTable.trigger("update")
.trigger("sorton", [usersTable.get(0).config.sortList])
.trigger("appendCache")
.trigger("applyWidgets");
Put this after the place where you’ve edited the table.
More Related Contents:
- Date sorting problem with jQuery Tablesorter
- Prevent users from submitting a form by hitting Enter
- Using .text() to retrieve only text not nested in child tags
- How to allow only numeric (0-9) in HTML inputbox using jQuery?
- Selecting element by data attribute with jQuery
- How can I get the button that caused the submit from the form submit event?
- How to limit the number of selected checkboxes?
- jQuery.ajax() method’s async option deprecated, what now?
- How to get header from cards or similar to have the same height with flex box?
- How to define multiple CSS attributes in jQuery?
- how to access the $(this) inside ajax success callback function
- resize font to fit in a div (on one line)
- Difference between jQuery parent(), parents() and closest() functions
- How to change options of with jQuery?
- Ajax.BeginForm in MVC to upload files
- jquery: change the URL address without redirecting? [duplicate]
- Why does JQuery have dollar signs everywhere?
- jQuery append fadeIn
- Error :Request header field Content-Type is not allowed by Access-Control-Allow-Headers
- jquery .live(‘click’) vs .click()
- Difference between .success() and .complete()?
- iPad/iPhone hover problem causes the user to double click a link
- Typewriter Effect with jQuery
- jquery fade element does not show elements styled ‘visibility: hidden’
- jQuery: How can I trigger an event when a div comes into view? [duplicate]
- How do you resize Fancybox at runtime?
- JQuery, remove element from string
- How can I programmatically change a select box selection from within the control’s own change event and have it work in mobile browsers
- iPad HTML Focus
- JQuery Ajax is sending GET instead of POST