extjs4.2 - ExtJs - Panel grid data not visible even when it is loaded by the store -
i'm using panel grid display data. grid has 1 column hence model has 1 field.
the model definition follows:
ext.define('somemodel', { extend: 'ext.data.model', fields: [ {name: 'name', type: 'auto'}, ] });
the store proxy follows:
proxy: { type : 'direct', directfn : 'somefunction', extraparams: { controller: '' }, reader : { type : 'json', root : 'result' } }
the proxy returns me data json object , can see in console. here format:
{ "result": { "somekey": "somevalue", "values": { "abc": "xyz", "pqr": "mno" }, "arrays": [ "value" ], "onemorekey": "value" }, "id": 0001 }
i want parse data , use arrays
part of data grid. can contain more 1 values. i'm not able see or set data json grid. can tell me how it?
Comments
Post a Comment