Auto-sizing columns widths with minimum and maximum values

Topics: User Forum
Mar 13, 2010 at 5:42 PM
Edited Mar 13, 2010 at 6:30 PM


I want achieve auto-sizing column widths but I want a minimum or a maximum value as column widths.
I tried this:

$width = $objPHPExcel->getActiveSheet()->getColumnDimension('A')->getWidth();

However it does not work. 


Mar 16, 2010 at 4:05 AM

I see what you mean. It will be a bit tricky to implement, but will copy to a work item so we can implement it in the future.