var store = Ext.getStore('Tweets');
myStore=store;
//alert(myStore);
if (myStore.getCount() > 0)
{
maxId = myStore.getAt(0).get('m1'); // initialise to the first record's id value.
myStore.each(function(rec) // go through all the records
{
maxId = Math.max(maxId, rec.get('m1'));
});
}
sencha-touch1.1获得数据源中store的最大值
