Headers 为
有没有办法使用jspdf-autotable创建表行的 only border top ?
我正在使用以下代码,但它不起作用,而是将边框放在该行周围
drawRow: function(row, data){
if (/* put condition here */){
$.each(row.cells, function(i, this){
this.styles.lineWidth = 1; /* Setting this will put a border on all sides of the row */
});
}
}
我想要的是,对于那一行,只显示顶部边框,而不是在行的每一边 .