You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I added a trigger to call the updateCell event, I noticed the cache was not being updated. After a little troubleshooting, I realized the code in the "updateCell.tablesorter" event handler was not finding the tbody for the table cell.
Unfortunately for me, in the particular web page containing the table for which I am using the tablesorter plugin, this table is nested within another table, thus causing the issue.
The code in question is on lines 730-733 of file jquery.tablesorter.js, in the bind method for "updateCell.tablesorter":
Taking into account the commented out code regarding the 'closest' function and after some testing, I believe the filter after the call to 'parents' should be for the first value in order to mimic 'closest', rather than the last value.
When I added a trigger to call the updateCell event, I noticed the cache was not being updated. After a little troubleshooting, I realized the code in the "updateCell.tablesorter" event handler was not finding the tbody for the table cell.
Unfortunately for me, in the particular web page containing the table for which I am using the tablesorter plugin, this table is nested within another table, thus causing the issue.
The code in question is on lines 730-733 of file jquery.tablesorter.js, in the bind method for "updateCell.tablesorter":
Taking into account the commented out code regarding the 'closest' function and after some testing, I believe the filter after the call to 'parents' should be for the first value in order to mimic 'closest', rather than the last value.
e.g.
This seemed to work for me.
Thanks for all your hard work on this great plugin.
The text was updated successfully, but these errors were encountered: