标签:bsp complaint UI plain http for jquer alt datagrid
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>‘
}
});
效果图
标签:bsp complaint UI plain http for jquer alt datagrid
原文地址:http://www.cnblogs.com/lacey/p/7488935.html