X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..05ce1c11e98b33f14ddee184493bd5a60dc947e2:/examples/grid/sliding-pager.js diff --git a/examples/grid/sliding-pager.js b/examples/grid/sliding-pager.js index 1a3f3778..e8cbd811 100644 --- a/examples/grid/sliding-pager.js +++ b/examples/grid/sliding-pager.js @@ -1,11 +1,9 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - +/*! + * Ext JS Library 3.0.3 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ Ext.onReady(function(){ var myData = [ @@ -62,7 +60,7 @@ Ext.onReady(function(){ // create the data store var store = new Ext.data.Store({ - proxy: new Ext.data.PagingMemoryProxy(myData), + proxy: new Ext.ux.data.PagingMemoryProxy(myData), remoteSort:true, sortInfo: {field:'price', direction:'ASC'}, reader: new Ext.data.ArrayReader({ @@ -96,7 +94,7 @@ Ext.onReady(function(){ plugins: new Ext.ux.PanelResizer({ minHeight: 100 }), - + bbar: new Ext.PagingToolbar({ pageSize: 10, store: store,