var ry_store = new Ext.data.JsonStore({
// store configs
autoDestroy : true,
root : 'results',
proxy : new Ext.data.HttpProxy({
method : 'GET',
prettyUrls : false,
url : '#' // 参见Ext.Ajax.request的配置参数
}),
fields : ['loopback_ip', 'device_name', 'device_model', 'city_name']
});
store是自己定义的。就像这样写一下,然后ry_store就是store了。