Hi,
we have been using old syncfusion version 13.3.0.18 to create pdf documents containing a PdfLightTable. We set the Width on all PdfColumn. If there are too many the sum might be bigger than PageSettings.Width that we set on our PdfDocument. However version 13.3.0.18 managed to autosize the columns so all have been displayed (see attached screenshot).
Now we updated to syncfusion version
17.1.0.47 but it does not resize the column width automatically anymore. Columns now are moved out of the visible area (to the right). How can we enforce 13.3.0.18's behavior?
If we do not set any column width then each column width is evenly sized and displayed with 17.1.0.47. However we would like to keep the behavior of 13.3.0.18 as it at least considers bigger/smaller width columns and does not evenly resize all columns to have the same width.
Please advise what to do.
Thanks, Tobi
// Create a PdfLightTable
PdfLightTable pdfLightTable = new PdfLightTable();
// To update table column width size based on PdfLightTable width size
pdfLightTable.ColumnProportionalSizing = true; |
Thanks 17.2.0.34 works!