求牛人帮助:extjs4.0 grid返回值可以得到但不显示数据
Ext.onReady(function(){
// create the Data Store
var store = new Ext.data.JsonStore({
totalProperty: 'totalProperty',
root: 'root',
idProperty: 'threadid',
remoteSort: true,
fields: ['dwdah', 'dwsbh', 'khDate', 'khUserId','userDog','userId','userJb','userName','userPassword','waptel','xgDate','yxqQ','yxqZ'],
proxy: new Ext.data.HttpProxy({
url:'user.do?code=list',
method:'post'
})
});
var grid = new Ext.grid.GridPanel({
//width:850,
height:450,
title:'本系统用户信息列表',
store: store,
trackMouseOver:false,
disableSelection:true,
loadMask: true,
trackMouseOver:true,
loadMask: {msg:'正在加载数据,请稍侯……'},
// grid columns
columns:[{
header: '编号',
dataIndex: 'dwdah',
width: 220,
sortable: true
},{
header: '姓名',
dataIndex: 'dwsbh',
width: 100,
sortable: true
},{
header: '开户日期',
dataIndex: 'khDate',
width: 70,
align: 'right',
sortable: true
},{
&n