Created
October 22, 2012 00:28
-
-
Save forcementor/3929074 to your computer and use it in GitHub Desktop.
Developing Mobile…Force.com and Sencha-Part 3, Step 1: Add List Paging Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //The main list and its properties. | |
| xtype: "list", | |
| store: "Leads", | |
| itemId: "leadsList", | |
| ... | |
| disableSelection: false, | |
| ... | |
| plugins: [{ | |
| xclass: 'Ext.plugin.ListPaging', | |
| autoPaging: false //set true for automatic fetching when user reaches bottom of the list | |
| }], | |
| //The template for display if the Store is empty of records. | |
| //Note the style to control visual presentation. | |
| loadingText: "Loading Leads...", | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment