Please help me to solve report not rendering very wide table properly (pdf)
-
Hello, I have a table with many columns (32) and I want to generate a pdf document of it, the problem is that generated document is just a part of the table, not the entire table.
This is the playground link.
https://playground.jsreport.net/w/anon/q3xbL27B
And this is the render settingTemplate = new Template{ Recipe = Recipe.ChromePdf, Engine = Engine.None, Content = html, Chrome = new Chrome { MarginTop = "10", MarginBottom = "10", MarginLeft = "50", MarginRight = "50", Landscape = true, } }
How can I solve it?
Thanks in advance
-
hi @Maicol-Casano, there is no magic solution but since the table is so wide it can not fit in the pdf page dimensions. so a solution is to scale the table dynamically (with javascript) so it can fit in the html document.