sencha touch2中定义store格式

st2中定义store

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



原文地址:https://www.cnblogs.com/fyq891014/p/3294775.html