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 !!!
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 !!!