sencha touch2中定义store格式

来源:互联网 发布:淘宝的宝贝详情在那 编辑:程序博客网 时间:2024/04/30 12:25

st2中定义store

dataStore = Ext.create('Ext.data.Store', {            model: "OilRecord",            syncRemovedRecords: true,            sorters: [                      {                          property : 'id',                          direction: 'DESC'                      }                  ]                     });


原创粉丝点击