-
23 Jul 2012 7:04 AM #1
Help with a callback function
Help with a callback function
hi guys, can somebody give me a example for a callback function?
i need to do some actions before something...
-
23 Jul 2012 12:38 PM #2
-
23 Jul 2012 12:44 PM #3
Check API docs and select function which you want on favourite class
E.g. store:
or on object instance:Code:var myStore = new Ext.create('Ext.data.Store', { ... listeners: { beforeload: function(store, operation, e){ ... } }
Code:myStore.on('beforeload', function(store, operation, e){ //do whatever you want here });


Reply With Quote