I tried to override Ext.DataProxy functions.
I want that in before and after every ExtJs ajax request calls the script my function.
I have coded script that looks like this
But this doesnt work, can somebody tells me how can i get it to work.Code:Ext.override(Ext.data.DataProxy, { listeners: { beforeload: function() { //doo my thing here }, load : function() { //doo my thing here } } });