Ext.data.SimpleStore的使用方法

Ext.data.SimpleStore简单数据存储器

参数:
data:Array数组类型.
fields:数组对应的字段名称。
var data1=[1,"订单1","168¥","地址"]
var store=new Ext.data.SimpleStore({data:data1,fields:["id","order_SN","price","demo"]});

Class Ext.data.SimpleStore
http://dev.sencha.com/playpen/docs/output/Ext.data.SimpleStore.html

 

 

转载处:http://www.cnblogs.com/bluestorm/archive/2013/06/14/3135361.html

posted @ 2016-01-22 13:53  sp950622  阅读(685)  评论(0编辑  收藏  举报