vendredi 19 septembre 2014

Call Back function for TreeStore

Hi,

We are using Ext Js 4.0


We need to perform some operations once the tree store is loaded.

I am using the following code to for the tree store call back operation:



Code:



treestore.load(function (records, operation, success) {
if (records.length == 0) {
Ext.getCmp('pnlPositionSearchErr').show();
}
});

The above code is working with the JSON store. But it is not working with the Tree store.

Please help.


Regards,

SivaPrasad.B






Call Back function for TreeStore

Aucun commentaire:

Enregistrer un commentaire