X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FPagingToolbar.js;h=22f35d3f9b7c1ce2a80b8cd0efc31f1a3d3bac76;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hp=dd1f615edac3f778158115d76561d1084b7eec5d;hpb=b59542251105b2b6aebf357c85d16d175c7011b0;p=roojs1 diff --git a/Roo/PagingToolbar.js b/Roo/PagingToolbar.js index dd1f615eda..22f35d3f9b 100644 --- a/Roo/PagingToolbar.js +++ b/Roo/PagingToolbar.js @@ -12,6 +12,7 @@ /** * @class Roo.PagingToolbar * @extends Roo.Toolbar + * @children Roo.Toolbar.Item Roo.Toolbar.Button Roo.Toolbar.SplitButton Roo.form.Field * A specialized toolbar that is bound to a {@link Roo.data.Store} and provides automatic paging controls. * @constructor * Create a new PagingToolbar @@ -47,10 +48,7 @@ Roo.PagingToolbar = function(el, ds, config) }; Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { - /** - * @cfg {Roo.data.Store} dataSource - * The underlying data store providing the paged data - */ + /** * @cfg {String/HTMLElement/Element} container * container The id or element that will contain the toolbar @@ -59,6 +57,8 @@ Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { * @cfg {Boolean} displayInfo * True to display the displayMsg (defaults to false) */ + + /** * @cfg {Number} pageSize * The number of records to display per page (defaults to 20) @@ -255,7 +255,11 @@ Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { this.loading.disable(); } }, - + /** + * event that occurs when you click on the navigation buttons - can be used to trigger load of a grid. + * @param {String} which (first|prev|next|last|refresh) which button to press. + * + */ // private onClick : function(which){ var ds = this.ds;