ColumnWidth affectes table width
See original GitHub issueProof for ColumnWidth issue: [document.pdf](https://github.com/simonbengtsson/jsPDF-AutoTable/files/672403/document.pdf
Issue 1: I am using columnWith for Employee Name.it takes table with out of box
Issue 2: With open saved pdf header border is not showing but view in new tab in browser it shows border right is availabe. Code here:
margin: {top: 70},
styles: {
cellPadding: 3,
fontSize: 8,
valign: 'middle',
overflow: 'linebreak',
tableWidth: 'auto',
//fileColor: [30, 30, 30],
lineWidth: 1,
},
headerStyles: {
//columnWidth: 'wrap',
cellPadding: 2,
lineWidth: 1,
valign:'top',
fontStyle: 'bold',
halign: 'left', //'center' or 'right'
//fillColor: [250, 152, 95],
//textColor: [78, 53, 73], //Black
textColor: [255, 255, 255], //White
fontSize: 8,
rowHeight:20
},
Issue Analytics
- State:
- Created 7 years ago
- Comments:25 (11 by maintainers)
Top Results From Across the Web
table-layout - CSS: Cascading Style Sheets - MDN Web Docs
Table and column widths are set by the widths of table and col elements or by the width of the first row of...
Read more >Set the table column width constant regardless of the amount ...
You need to set the cell width (either th or td worked, I set both) AND set the table-layout to fixed . For...
Read more >How to set fixed width for <td> in a table ? - GeeksforGeeks
We can restrict the column width up to that much percentage of the table's total width. The width attribute is invalid and has...
Read more >Stop Using To Set Table Width In HTML: Here's Why »
Adjusting Table Column Width. The width attribute, now deprecated, was once the correct way to adjust the width of a table's columns. By...
Read more >(Legacy) HTML: Tables: Widths and Heights | UW-Eau Claire
It is possible to manipulate the width and height of tables and individual cells by assigning a fixed size in pixels or a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you Simon.
The above manner I added header and footer Simon