diff --git a/docs/example-widget-pager.html b/docs/example-widget-pager.html index cd71a2eb..46cd338e 100644 --- a/docs/example-widget-pager.html +++ b/docs/example-widget-pager.html @@ -177,12 +177,10 @@ // Exterminate, annhilate, destroy! http://www.youtube.com/watch?v=LOqn8FxuyFs var $t = $(this); if (/Destroy/.test( $t.text() )){ - $table[0].config.widgets = ['zebra']; $table.trigger('destroyPager'); $t.text('Restore Pager'); } else { - $table[0].config.widgets = ['zebra', 'pager']; - $table.trigger('applyWidgets'); + $('table').trigger('applyWidgetId', 'pager'); $t.text('Destroy Pager'); } return false; @@ -233,6 +231,7 @@ NOTE!