title: How to set the word wrap property to particular column using PhpExcel in Yii?
body: <p>I want to set the wordwrap property to a particular column. I have set the fixed width for that column. But when text is large it goes into the next cell. I want to wrap that text in same column. </p>
  
  <p>I am using the phpExcel extension to export the data.</p>
  
  <p>Here is the code.</p>
  
  <pre><code>    $objPHPExcel-&gt;getActiveSheet()-&gt;setCellValueByColumnAndRow(0, $row, "Sr No");
      $objPHPExcel-&gt;getActiveSheet()-&gt;setCellValueByColumnAndRow(1, $row, "Query");
      $objPHPExcel-&gt;getActiveSheet()-&gt;setCellValueByColumnAndRow(2, $row, "Additional Detail.");
      $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('B')-&gt;setWidth(60);
      $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('C')-&gt;setWidth(60);
  </code></pre>
  
  <p>Want to set wordwrap property to column B in my above code.
  Any help would be appreciated! </p>