Answer the question
In order to leave comments, you need to log in
How to make table width fixed (PHPExcel + mPDF)?
The problem is that I'm generating my PDF directly from the XLS file.
I need to leave the table in a fixed form so that all columns that do not fit on the page are hidden and the text is reduced as in Excel cells.
Here's how it is now:
And here's how it should come out:
Answer the question
In order to leave comments, you need to log in
For example like this - $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(10);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question