sencha touch2中定义store格式

st2中定义store

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


posted @ 2012-05-27 11:56  范永强  阅读(107)  评论(0编辑  收藏  举报