mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Docs: Fix pager example
This commit is contained in:
parent
b5dc8f2a3e
commit
eebfda4755
@ -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) );
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user