intellix
20 Nov 2012, 3:56 AM
Sorry, not going to fill out one of the lengthy forms as I don't feel it's needed or have the time but:
Sencha Touch 2.1.0
http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Store-event-addrecords
Second parameter is 'records' which I quote from the documentation: "The Model instances that were added".
If you add a buffer to the event binding (for example 3 seconds), add a couple of records inside this buffer time. You will only get 1 record passed through as the 'records' parameter.
Work around: var records = store.getNewRecords();
Sencha Touch 2.1.0
http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Store-event-addrecords
Second parameter is 'records' which I quote from the documentation: "The Model instances that were added".
If you add a buffer to the event binding (for example 3 seconds), add a couple of records inside this buffer time. You will only get 1 record passed through as the 'records' parameter.
Work around: var records = store.getNewRecords();