PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Table with lots of columns
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2334
Page 1 of 1

Author:  tonym [ Wed Feb 20, 2013 4:59 pm ]
Post subject:  Table with lots of columns

Hi all

I am bit of newbie having only just started using Migradoc and Pdf sharp 2 weeks ago - great piece of software by the way.

My problem is this, all the documents produced will be done so on the fly by the user selecting export to pdf on a web page which will enable them to export the data in the displayed datagrid into a pdf report. I am using Migradoc to format the report and then the pdf sharp to render it. Unfortunately, some of these users have over 50 columns in these datagrids (the datagrids have scroll bars in case you are wondering) now I know I can reduce the font size and column widths but I can only do that to a certain extent and I know I can increase the document width but again I have a problem when the user wants to print the pdf.

I am thinking of splitting the columns into different tables and putting the overflow columns into a table on the next page but I can see plenty of problems with that approach. Does anyone have any experience or suggestions as to what the best approach would be?

Thanks in advance :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/