Reputation: 4233
I tried something like this:
oStore.load( {
node : oRecord.parentNode,
limit : 20,
page : nPage,
start : 20 * nPage,
params: {
parent: strNodeId
}
} );
But the reload doesn't happen, even after I removed all children of oRecord.parentNodes
.
Just the beforeload
event gets triggered, the load
event never.
Upvotes: 1
Views: 236
Reputation: 23983
You should check if any beforeload
callback returns false
. This will cause the load operation to stop.
Upvotes: 1