【发布时间】:2016-01-11 04:54:41
【问题描述】:
我看到了这个问题,我想更进一步 https://stackoverflow.com/questions/18606212/store-filter-in-sencha-touch#=
现在我测试了类似的东西:
TABLEVIEWSTORE1.filter("name", name);
TABLEVIEWSTORE1.load({callback: function (){
tableviewstore2.load({callback: function (){
TABLEVIEWSTORE1.each(function(item){
tableviewstore2.filterBy(function(record,id){
return record.get("number") == item.get("number");
}, this);
});
TABLEVIEWSTORE1.load({callback: function (){
tableviewstore2.load({callback: function (){
// DO MORE THINGS
}});
}});
}});
}});
});
有人知道它是如何正常工作的吗?
【问题讨论】:
标签: extjs sencha-touch store