Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Page Moved Trigger to moveToPage #153

Merged
merged 1 commit into from
Oct 15, 2012

Conversation

ViViDboarder
Copy link
Contributor

Adding a new trigger to the end of the moveToPage function so that
async events can be added by the user to be triggered whenever new data
is shown on the table.

Adding a new trigger to the end of the moveToPage function so that
async events can be added by the user to be triggered whenever new data
is shown on the table.
Mottie added a commit that referenced this pull request Oct 15, 2012
Add Page Moved Trigger to moveToPage
@Mottie Mottie merged commit a8e13d6 into Mottie:master Oct 15, 2012
@Mottie
Copy link
Owner

Mottie commented Oct 15, 2012

Hmm, actually the pagerChange event is fired when the renderAjax function has completed processing data.

So actually, pageMoved is most likely fired before the ajax call completes.

@ViViDboarder
Copy link
Contributor Author

Right, I actually use it to trigger an ajax call. So after the page moves it calls back to pageMoved which pings my server and updates some of the table.

Mottie added a commit that referenced this pull request Oct 15, 2012
Added "pagerInitialized" and "pageMoved" thanks to ViViDboarder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants