代码如下: Ext.onReady(function(){ //定义store var chartStore = new Ext.data.JsonStore({ root:’root’, fields:[ {name:’ne’,type:’string’},//网元 {name:’confine’,type:’int’},//阀值 {name:’bill’,type:’string’}//工单数 ], sortInfo:{field: ‘bill’, direction: ‘ASC’} });