1.引用jquery-easyui-1.4.4/datagrid-detailview
2.增加属性
view: detailview,
detailFormatter: function (rowIndex, rowData) {
return ‘<table id="dftable" class="tableForm" width="100%">‘ +
‘<tr>‘ +
‘<td>‘ +
‘<p><span>是否集团电渠:</span>‘ + rowData.GroupChannel + ‘</p>‘ +
‘<p><span>渠道:</span>‘ + rowData.ChannelName + ‘</p>‘ +
‘<p><span>投诉类型:</span>‘ + rowData.ComplaintType + ‘</p>‘ +
‘<p><span>工单号:</span>‘ + rowData.OrderID + ‘</p>‘ +
‘</td>‘ +
‘<p><span>退费备注:</span>‘ + rowData.ReturnMark + ‘</p>‘ +
‘</td>‘ +
‘<td colspan="4">‘ +
‘<p><span>备注:</span>‘ + rowData.Mark + ‘</p>‘ +
‘</td>‘ +
‘<tr>‘ +
‘</tr>‘ +
‘</table>‘
}
});
效果图