This question is related to another question:
EXTjs gridfilter: How to clearfilter without reloading store?
My thinking is:
If there is 1 store and there are two functions (f1) and (f2) and both call store.load().
Both f1 and f2 will be called and the order is not guaranteed. Is there a way for f1 to check if store has already been loaded by f2(and vice versa) and if loaded, skip the store.load command for f1.
What I am looking for is a method like:
f1() {
if (!store.isLoadedAsPartOfThisRequest() //true/false){
store.load(params);
}
}
Is this possible?
store.getCount()to see if the store has any records in it before loading? - user69820