Skip to content

Instantly share code, notes, and snippets.

@forcementor
Created October 22, 2012 00:28
Show Gist options
  • Select an option

  • Save forcementor/3929074 to your computer and use it in GitHub Desktop.

Select an option

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
//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