Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在页眉中创建边框?我正在使用 jspdf autotable 创建表格,但找不到将边框应用于标题的任何想法。有没有可以用来创建标题边框的钩子?
您可以使用标题样式:
doc.autotable(columns, data, { headerStyles: { lineWidth: 1, lineColor: [255, 0, 0] } });