Another Easy question about Style

Topics: Developer Forum, User Forum
Apr 16, 2010 at 7:58 PM

Hi guys,

Id like to set one style (Eg: bold or border...) by ROW how can i do that? i havent found that on documentation... thanks....

Developer
Apr 20, 2010 at 1:48 AM

To style row 4, try this:

 

$objPHPExcel->getActiveSheet()->getStyle('4')->getFont()->setBold(true);

Row and column styles feature is still not complete, but it should be working as long as you style rows before filling in cells.
http://phpexcel.codeplex.com/WorkItem/View.aspx?WorkItemId=7333