View Full Version : [SOLVED] Observer event load of Store

Perfect Lion
15 Oct 2009, 8:14 AM
Hi staff,

I need observing the event "load" of data.Store for order to manipulate the data that are coming before any other load.

How can I make this check?


Ext.data.Store.load = function() { alert('Observer') };

Grid1 = Ext.data.JsonStore({ ... })
Grid2 = Ext.data.JsonStore({ ... })

// out "Observer"
// out "Observer"

I do not want to be putting a listener for each JsonStore

15 Oct 2009, 9:54 AM
You want to listen for loads on all Stores that you create?


Perfect Lion
15 Oct 2009, 11:25 AM
Thank Animal....
Is solved my problem ;)