这里基本上同http://blog.csdn.net/yunshumingliao/article/details/8536871 array grid的创建方式一样,
不同的主要是 xml 的store加载方式。
var store = Ext.create('Ext.data.Store', { model: 'Book', autoLoad: true, proxy: { // load using HTTP type: 'ajax',//这里这个是加载本地服务器上的数据。jsonp使用的是别的服务器domino url: 'sheldon.xml', // the return will be XML, so lets set up a reader reader: { type: 'xml', // records will have an "Item" tag record: 'Item', idProperty: 'ASIN', totalRecords: '@total' } } });似乎用xml store 也可以。其他的。。。。。