store.load({
callback : function(r, options, success) {
if (success == false) {
Ext.Msg.alert("ERROR", "There was an error parsing the Country Combo.");
}
else{
alert(store.getTotalCount());
}
}
});
转载于:https://www.cnblogs.com/minideas/archive/2011/01/06/1927740.html