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;
},

 

posted @ 2019-03-02 01:17  虚无缥缈的云  阅读(1837)  评论(0编辑  收藏  举报