参考了很多博文 可是比对代码后都发现大同小异 和我的代码也没啥区别 前台传来 { total: 4, results:[{ id:'9',name:'wang',tell:'1234456789',email:'234567@QQ.com',qq:'3456765432',school:'hit',spec:'Software',home:'shanxi',hometell:'3456789',work:'',kind:'family'},{ id:'10',name:'lee',tell:'654321',email:'56789@QQ.com',qq:'3456',school:'beijingdaxue',spec:'computer',home:'japan',hometell:'0948567',work:'',kind:'classmates'},{ id:'11',name:'jack',tell:'34567',email:'987@345.com',qq:'098765',school:'peking uni',spec:'Chinese',home:'shandong',hometell:'23456',work:'',kind:'friends'},{ id:'17',name:'1',tell:'1',email:'1@1.com',qq:'1',school:'1',spec:'1',home:'1',hometell:'1',work:'1',kind:'classmates'}]} 但是reader总是不起作用 reader: new Ext.data.JsonReader({ totalProperty:'total',//totalRecords属性由json.total得到 successProperty: true, //json数据中,保存是否返回成功的属性名 root:'result',//构造元数据的数组由json.results得到 id:"id" //id由json.id得到 },[ {name: 'id',type: 'String'}, {name: 'name', type: 'String'}, {name: 'tell', type: 'String'}, {name: 'email', type: 'String'}, {name: 'qq', type: 'String'}, {name: 'school', type: 'String'}, {name: 'spec', type: 'String'}, {name: 'home', type: 'String'}, {name: 'hometell', type: 'String'}, {name: 'work', type: 'String'}, {name: 'kind', type: 'String'} ]), sortInfo:{field: 'kind', direction: "ASC"}, groupField:'kind' }); 后来发现 原来是root:‘result’应该是results 囧RZ