The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Dark Matter (2) [Avatar] Offline
For the chapter 2 contact manager app example, file PersonStore.js has json-p proxy to get data from an online source. In the listing, the config has a limit set to 20. The data store has 50 records. So changing to a higher limit should have changed how many records are displayed. Changing limit to 40 or 5 had no effect. Why?

I checked that HTTP requests to the URL with the limit parameter returns the correct number of records. By experiments I find the list displayed by the MyApp example corresponds to limit of 25 regardless of value set in config.

The code is copied below:

Ext.define('MyApp.PersonStore', {
extend : '',
alias : 'store.personstore',
requires : [ 'MyApp.PersonModel' ],
config : {
model : 'MyApp.PersonModel',
proxy : {
type : 'jsonp',
url : '',
limit : 5,
reader : {
type : 'json',
rootProperty : 'records'

For a better listing see