detailFormatter bootstrapTable

时间:2023-03-09 01:50:02
detailFormatter  bootstrapTable
detailView : true,//会导致表格最开头多出一列
detailFormatter :function(index, row, element){ var image = '<div class="photos">'
+'<a target="_blank" href="'+row['jumpUrl']+'"><img alt="image" class="feed-photo" src="'+row['picUrl']+'"></a>'
+'</div>';
return image;
},

detailFormatter  bootstrapTable