X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Paging.html diff --git a/docs/source/Paging.html b/docs/source/Paging.html index 3c2c6915..390a1551 100644 --- a/docs/source/Paging.html +++ b/docs/source/Paging.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.toolbar.Paging
* @extends Ext.toolbar.Toolbar
* <p>As the amount of records increases, the time required for the browser to render
@@ -112,22 +129,22 @@ Ext.define('Ext.toolbar.Paging', {
alias: 'widget.pagingtoolbar',
alternateClassName: 'Ext.PagingToolbar',
requires: ['Ext.toolbar.TextItem', 'Ext.form.field.Number'],
- /**
+ /**
* @cfg {Ext.data.Store} store
* The {@link Ext.data.Store} the paging toolbar should use as its data source (required).
*/
- /**
+ /**
* @cfg {Boolean} displayInfo
* <tt>true</tt> to display the displayMsg (defaults to <tt>false</tt>)
*/
displayInfo: false,
- /**
+ /**
* @cfg {Boolean} prependButtons
* <tt>true</tt> to insert any configured <tt>items</tt> <i>before</i> the paging buttons.
* Defaults to <tt>false</tt>.
*/
prependButtons: false,
- /**
+ /**
* @cfg {String} displayMsg
* The paging status message to display (defaults to <tt>'Displaying {0} - {1} of {2}'</tt>).
* Note that this string is formatted using the braced numbers <tt>{0}-{2}</tt> as tokens
@@ -135,17 +152,17 @@ Ext.define('Ext.toolbar.Paging', {
* be preserved when overriding this string if showing those values is desired.
*/
displayMsg : 'Displaying {0} - {1} of {2}',
- /**
+ /**
* @cfg {String} emptyMsg
* The message to display when no records are found (defaults to 'No data to display')
*/
emptyMsg : 'No data to display',
- /**
+ /**
* @cfg {String} beforePageText
* The text displayed before the input item (defaults to <tt>'Page'</tt>).
*/
beforePageText : 'Page',
- /**
+ /**
* @cfg {String} afterPageText
* Customizable piece of the default paging text (defaults to <tt>'of {0}'</tt>). Note that
* this string is formatted using <tt>{0}</tt> as a token that is replaced by the number of
@@ -153,43 +170,43 @@ Ext.define('Ext.toolbar.Paging', {
* total page count is desired.
*/
afterPageText : 'of {0}',
- /**
+ /**
* @cfg {String} firstText
* The quicktip text displayed for the first page button (defaults to <tt>'First Page'</tt>).
* <b>Note</b>: quick tips must be initialized for the quicktip to show.
*/
firstText : 'First Page',
- /**
+ /**
* @cfg {String} prevText
* The quicktip text displayed for the previous page button (defaults to <tt>'Previous Page'</tt>).
* <b>Note</b>: quick tips must be initialized for the quicktip to show.
*/
prevText : 'Previous Page',
- /**
+ /**
* @cfg {String} nextText
* The quicktip text displayed for the next page button (defaults to <tt>'Next Page'</tt>).
* <b>Note</b>: quick tips must be initialized for the quicktip to show.
*/
nextText : 'Next Page',
- /**
+ /**
* @cfg {String} lastText
* The quicktip text displayed for the last page button (defaults to <tt>'Last Page'</tt>).
* <b>Note</b>: quick tips must be initialized for the quicktip to show.
*/
lastText : 'Last Page',
- /**
+ /**
* @cfg {String} refreshText
* The quicktip text displayed for the Refresh button (defaults to <tt>'Refresh'</tt>).
* <b>Note</b>: quick tips must be initialized for the quicktip to show.
*/
refreshText : 'Refresh',
- /**
+ /**
* @cfg {Number} inputItemWidth
* The width in pixels of the input field used to display and change the current page number (defaults to 30).
*/
inputItemWidth : 30,
- /**
+ /**
* Gets the standard paging items in the toolbar
* @private
*/
@@ -287,7 +304,7 @@ Ext.define('Ext.toolbar.Paging', {
me.callParent();
me.addEvents(
- /**
+ /**
* @event change
* Fires after the active page has been changed.
* @param {Ext.toolbar.Paging} this
@@ -302,7 +319,7 @@ Ext.define('Ext.toolbar.Paging', {
* </ul>
*/
'change',
- /**
+ /**
* @event beforechange
* Fires just before the active page is changed.
* Return false to prevent the active page from being changed.
@@ -464,7 +481,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Move to the first page, has the same effect as clicking the 'first' button.
*/
moveFirst : function(){
@@ -474,7 +491,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Move to the previous page, has the same effect as clicking the 'previous' button.
*/
movePrevious : function(){
@@ -486,7 +503,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Move to the next page, has the same effect as clicking the 'next' button.
*/
moveNext : function(){
@@ -496,7 +513,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Move to the last page, has the same effect as clicking the 'last' button.
*/
moveLast : function(){
@@ -508,7 +525,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Refresh the current page, has the same effect as clicking the 'refresh' button.
*/
doRefresh : function(){
@@ -520,7 +537,7 @@ Ext.define('Ext.toolbar.Paging', {
}
},
- /**
+ /**
* Binds the paging toolbar to the specified {@link Ext.data.Store}
* @param {Store} store The store to bind to this toolbar
* @param {Boolean} initial (Optional) true to not remove listeners
@@ -552,7 +569,7 @@ Ext.define('Ext.toolbar.Paging', {
me.store = store;
},
- /**
+ /**
* Unbinds the paging toolbar from the specified {@link Ext.data.Store} <b>(deprecated)</b>
* @param {Ext.data.Store} store The data store to unbind
*/
@@ -560,7 +577,7 @@ Ext.define('Ext.toolbar.Paging', {
this.bindStore(null);
},
- /**
+ /**
* Binds the paging toolbar to the specified {@link Ext.data.Store} <b>(deprecated)</b>
* @param {Ext.data.Store} store The data store to bind
*/
@@ -574,4 +591,6 @@ Ext.define('Ext.toolbar.Paging', {
this.callParent();
}
});
-
\ No newline at end of file
+
+
+