Ext.data.Store getTotalCount() doesn't calculate after load
问题 My store doesn't always return the right amount of records when calling getTotalCount() . This problem occurs after I load() the store. I know that there are records in the store at that point of checking. I am using ExtJs 4.1.3 //this.grid = reference to my grid var count = this.grid.getStore().getCount(), //50 total = this.grid.getStore().getTotalCount(); //16000 this.grid.getStore().load(); count = this.grid.getStore().getCount(); //50 total = this.grid.getStore().getTotalCount(); //0 How