如题 用mmGrid表格控件 ajax加载方式后台可以接到请求 并返回拼好的json串 但前台报数据加载出现异常 我把后台拼好的json粘的到页面,本地加载可以正常显示,是我设置的问题么 请用过的指点下 var mmg = $('.mmg').mmGrid({
width:1170,
height: 470,
indexCol: true,
indexColWidth: 40,
url:'modxiangmujidu/getHZ.do',
method: 'POST',
cols: cols,
sortName: 'x_countyid',
sortStatus: 'desc',
checkCol: false,
autoLoad: true,
nowrap: true
});
width:1170,
height: 470,
indexCol: true,
indexColWidth: 40,
url:'modxiangmujidu/getHZ.do',
method: 'POST',
cols: cols,
sortName: 'x_countyid',
sortStatus: 'desc',
checkCol: false,
autoLoad: true,
nowrap: true
});
我的出错了是因为cols中使用了错误的函数导致的数据加载异常