Trying to load data that is being passed by using a store

前端 未结 1 637
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-17 03:10

I am trying to get data that is being passed and load it into various textfields. Right now, I have a .html file which contains this:



        
相关标签:
1条回答
  • 2021-01-17 03:40

    Try ArrayStore Like this.

    var newStore= new Ext.data.ArrayStore({
        fields: ['address', 'city', 'state', 'zip']
         });
    newStore.add(res);
    newStore.commitChanges()
    

    This should work.

    0 讨论(0)
提交回复
热议问题