K..
K..

Reputation: 4233

How to reload a node with different parameters in an ExtJS TreeStore?

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

Answers (1)

sra
sra

Reputation: 23983

You should check if any beforeload callback returns false. This will cause the load operation to stop.

Upvotes: 1

Related Questions