I’m using Sencha’s Ext.data.Store to hold some items. Right now they come from an xml webservice but that will change to a JSON query. After adding 500 items calling ResumeEvents on the Store can take 20 seconds! If I comment the Suspend and ResumeEvents from my code it runs faster.
What gives? Does the library not combine multiple event notifications, or does is save all of them to send when you call ResumeEvents?
This is not good.
Thanks,
Gerry
Try setting the suspendEvents parameter to
falseto prevent the queuing up of events upon resumeEvents.This is the description of the parameter in the Sencha docs: