PDA

View Full Version : Access directly to raw data returned to a store to read a custom property



Fire-Dragon-DoL
7 Jun 2012, 4:51 PM
I have data formatted in this way:

{success: true, message: "Operation ok", total:1023, root: [{...}, ...]}

This data is used to feed a store. Are there any way to access from the store this data?
I would like to access to my "message" property in some way when is returned, to display a message (like an alert) showing that string.

Thanks for suggestions

evant
7 Jun 2012, 5:33 PM
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.reader.Reader-property-rawData

Fire-Dragon-DoL
9 Jun 2012, 3:58 PM
Thanks a lot