PDA

View Full Version : Where is Ext.data.DataProxy exception event of ExtJs 3.4 gone



webfriend13
17 Sep 2012, 6:46 AM
HI All,

I am using extjs 4.1 framework. I have a store which is associated with a grid. I call the store.load method to load the data. At times server returns null or invalid json result causing javascript error. ExJs 3.4 framework have a exception event for the dataProxy (http://docs.sencha.com/ext-js/3-4/#!/api/Ext.data.DataProxy-event-exception) which is no longer available in Extjs 4.1. I wonder where is that event gone? Do we have any other similar event in ExtJs 4.1? If not, what is the best way to handle such scenarios?

Thanks in advance !!!

scottmartin
17 Sep 2012, 2:22 PM
See if this helps:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.reader.Reader-event-exception

Scott.

webfriend13
17 Sep 2012, 10:47 PM
Hey Scott,

Thank you for the reply. This is exactly what I was looking for !!! =D> :D