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
I am trying the obtain the row indexes of filtered rows from the pager cacheIndex array using the approach given in the docs. However, the first row is always missing.
I traced the problem to the hiderows() function definition, line 370 in jquery.tablesorter.pager.js (v2.31.0). "last" and "j" are both initialized to 0. This initialization makes the test on line 380 skip the first row, since last==j.
A solution seems to simply set "last = -1," in line 370. This makes it always pick up the first qualifying row.
Kjell
The text was updated successfully, but these errors were encountered:
I am trying the obtain the row indexes of filtered rows from the pager cacheIndex array using the approach given in the docs. However, the first row is always missing.
I traced the problem to the hiderows() function definition, line 370 in jquery.tablesorter.pager.js (v2.31.0). "last" and "j" are both initialized to 0. This initialization makes the test on line 380 skip the first row, since last==j.
A solution seems to simply set "last = -1," in line 370. This makes it always pick up the first qualifying row.
Kjell
The text was updated successfully, but these errors were encountered: