Docs: Fix pager example

This commit is contained in:
Rob Garrison 2017-10-18 06:42:09 -05:00
parent b5dc8f2a3e
commit eebfda4755

View File

@ -6114,7 +6114,7 @@ $.tablesorter.storage( $('#myTable'), 'tablesorter-filters', '' );</pre>
.bind('pagerChange pagerComplete', function(event, options){
// options = table.config.pager (pager addon)
// options = table.config (pager widget) - so use options.pager.page below
// c.totalPages contains the total number of pages
// this.totalPages contains the total number of pages (this = table)
$('#display').html( event.type + " event triggered, now on page " + (options.page + 1) );
});