Ronits
15 Oct 2012, 9:59 PM
Hi,
I would like to know the best way to override a method/function of a class, in the below mentioned scenario :
I need to override the reload() of store, because, I had faced some issues, trying to reload a buffered store.
Ext.override(Ext.data.Store, {
reload: function(options) {
I have put this in the
launch: function () { of app.js, which basically is the
Ext.application({
Is this correct way to do it ?
I would like to know the best way to override a method/function of a class, in the below mentioned scenario :
I need to override the reload() of store, because, I had faced some issues, trying to reload a buffered store.
Ext.override(Ext.data.Store, {
reload: function(options) {
I have put this in the
launch: function () { of app.js, which basically is the
Ext.application({
Is this correct way to do it ?