How to get value form record in sencha touch

后端 未结 3 1666
我在风中等你
我在风中等你 2020-12-11 08:38

I am trying to get value from nested json, but unable to get value. I have following data structure. Here I am printing record.

3条回答
  •  没有蜡笔的小新
    2020-12-11 09:02

    It looks like you have a data property inside the data object. So it means sencha recognize the record as it has only one field actually called data. So, if im not wrong, what's the output of:

    console.log(record.get('data'));
    

    Also, please add the model associated to the store containing record.

提交回复
热议问题