Skip to content

Add Page Moved Trigger to moveToPage#153

Merged
Mottie merged 1 commit into
Mottie:masterfrom
ViViDboarder:page-moved-trigger
Oct 15, 2012
Merged

Add Page Moved Trigger to moveToPage#153
Mottie merged 1 commit into
Mottie:masterfrom
ViViDboarder:page-moved-trigger

Conversation

@ViViDboarder
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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