json数据
相应的Js
{
field: 'fileNo',
title: '归档号',
formatter : function(value,row, index){
return row.archive.fileNo;
}
},
tips:
1、表头与内容没有对齐,删除掉“height”属性;
2、rows返回的数据是封装时,利用responseHandler获取填充数据
responseHandler:function(res){
return {
"total":res.total,
"rows":res.rows.record
}
}