In EXTJS 4.2 , for Ext.data.reader.Reader
there is messageProperty, successProperty, totalProperty
configuration to set.
My question is if I don't set these config in reader then also i can fetch the same in my store load event (I i have send something from server).
EXT JS Code:
Ext.create('Ext.data.Store', {
proxy: {
type: 'ajax',
url: '...',
reader: {
type: 'json',
root: 'data',
},
PHP server response
array('message' => 'No data found');
on EXT JS
store.load: function(store, records, options){
console.log(store.getProxy().getReader().rawData);
},
Then what is use of messageProperty, successProperty, totalProperty
configuration, If without setting them also I can fetch server data.
May be I am not aware of how to use it ...please guide me