gridpanel data load handler
gc.getStore().on('load',function(store,records,successful,operation){ //do what u want });
- make use of the { single: true } property when you just need a callback once. Example:
store.on('load', function(s) { /* do something*/ }, scope, { single: true })
The listener will be removed after it was called. This is needed cause of the use of a anonymous function, that cannot be removed.