Any way to run a function after a page change?
Any way to run a function after a page change?
DaveGYNWA
Posts: 10Questions: 0Answers: 0
Background on this - I've got a nice script together that memorises opens hidden rows, and on page/datatable refresh it will re-open those open rows for you....so no need for the user to manually re-open those rows.
I've been looking into how it behaves on a paginated table and while it works great on the first page, when clicking to the second page it doesn't have an effect. I'm pretty sure that all will work if there is a way for me to fire the function I am using after a pagination page change occurs. Is this possible? Basically click the next/previous links and when the page has been shown, fire a function.
I've been looking into how it behaves on a paginated table and while it works great on the first page, when clicking to the second page it doesn't have an effect. I'm pretty sure that all will work if there is a way for me to fire the function I am using after a pagination page change occurs. Is this possible? Basically click the next/previous links and when the page has been shown, fire a function.
This discussion has been closed.
Replies
The actual problem is that the expanded row isn't showing after a pagination change.
I'm going to pull together an example page for this to describe it visually - Allan, this is the final piece of the puzzle on that advanced example I've mention to you previously.