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
So here's my scenario... I have a table. I go to do a search via ajax. When it comes back I update the header and the rows. So in other words I'm completely rebuilding the table on each search. My problem is that the pagination acts pretty funky. Basically after the search is done everything looks ok. But click on the "last" button and you'll see that the pagination resets to the previous size. What gives? Is this a closure somewhere in my code that I'm not seeing? Is there a better way to kill/rebuild the tablesorter+pager?
So here's my scenario... I have a table. I go to do a search via ajax. When it comes back I update the header and the rows. So in other words I'm completely rebuilding the table on each search. My problem is that the pagination acts pretty funky. Basically after the search is done everything looks ok. But click on the "last" button and you'll see that the pagination resets to the previous size. What gives? Is this a closure somewhere in my code that I'm not seeing? Is there a better way to kill/rebuild the tablesorter+pager?
Here's a demo that I conjured up:
http://jsfiddle.net/1avd9pu3/2/
The text was updated successfully, but these errors were encountered: