{ width : '130', title : '分类', field : 'typeName', formatter: function(value,row,index){ var roles = ''; for(var i=0;i<row.noticeType.length;i++){ roles += row.noticeType[i].typeName + ','; } return roles; } },
其中noticeType集合变量,typeName集合中对象的属性
{ width : '130', title : '分类', field : 'typeName', formatter: function(value,row,index){ var roles = ''; for(var i=0;i<row.noticeType.length;i++){ roles += row.noticeType[i].typeName + ','; } return roles; } },
其中noticeType集合变量,typeName集合中对象的属性