开发者

extjs store not loaded bu server returns json response

My extjs store 开发者_运维问答is not loaded even if the server reutrns a correct json response. I checked that the fields return from the response has the same names as the fields defined in the store. The grid is just blank.

What can I check?


You should check you are returning an array of objects to ExtJS. If you are returning an object, containing the array of objects as a field, make sure you specify rootProperty for JsonReader to find the array. Make sure you are using correct data reader (i.e. JsonReader).

You may also try adding data from response manually into store via add to check that the data fits in well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜