我正在研究extjs3.2 Grid。我有一个商店,如下面的链接
所述http://loianegroner.com/2010/09/extjs-spring-mvc-3-and-hibernate-3-5-crud-datagrid-example/
var store = new Ext.data.Store({
id : 'user',
proxy : proxy,
reader : reader,
writer : writer, // <-- plug a DataWriter into the store
url: 'aaa/view.action',
remoteSort: true,
autoSave : false
// <-- false would delay executing create, update, destroy
// requests until specifically told to do so with some [save]
// buton.
});
但是,当我使用商店时,它不起作用
store.each(function(r) {
alert(r.get('col'));
})