Let's say I have a ExtJs Grid that utilizes a JsonStore for a dataset like:
{
mode: 'piggy',
records: [
{name: 'record1',...},
{name: 'record2',...}
]
}
rooting at records, the grid displays fine. Now is it possible that I can access the "mode" property from the store object? It contains some metadata about my grid beside the row data, and it certainly seems like a waste to open another Ajax connection to the server to get a metadata value. Anyone has done that?
You should still have access to the raw JSON data that came back in the response. There are probably multiple ways to get to it but here is one:
store.proxy.reader.rawData
or jsonData