I have ExtJS repository with ajax proxy and json reader:
Ext.create('Ext.data.Store', { proxy: { type: 'ajax', url: '...', reader: { type: 'json', root: 'data', totalProperty: 'totalCount', messageProperty: 'message', successProperty: 'success' }, ...
This is what I get from the server:
data: [...] message: "I want to read this string after the store is loaded" success: true totalCount: x
Now I want to access the "message" when loading the store - where will I get it? I watched a lot, but I canβt find a place to catch on? The only listener in the proxy server is the exception, which does not really help me.
source share