From d863c4aee47754bdf111c8ba68258dbe55d75218 Mon Sep 17 00:00:00 2001 From: Mottie Date: Mon, 29 Dec 2014 13:54:18 -0600 Subject: [PATCH] Docs: Specify pager's pageSet method requires a one-based index value --- docs/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 6785cac3..34f9f4eb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4604,8 +4604,10 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in Trigger the pager to change the current page (v2.7.7).
+
+ If no value is passed, the pager will reset to page 1; otherwise, pass a "one-based" index of the desired page
$(function(){
-  $('table').trigger('pageSet', 3);
+  $('table').trigger('pageSet', 3); // pass a one-based index
 });