大家好,在项目中有一个应用,及时通过选择的数据区后台查数据,情况如下:
var oherProdInstList = new xinli.ui.OhterProdInstList({
Type : panel.managerType,
selProdInstIds : selProdInstIds.join(",")
});
oherProdInstList.getStore().reload();
alert("=" + oherProdInstList.getStore().getTotalCount());
下面alert却得不到该记录的总数,为什么。每次打印的都是0