/** * (non-PHPdoc) * @see Tinebase_Export_Abstract::_exportRecords() */ protected function _exportRecords() { parent::_exportRecords(); $sheet = $this->_excelObject->getActiveSheet(); for ($i = 0; $i < $this->_columnCount; $i++) { $sheet->getColumnDimension($i)->setAutoSize(TRUE); } }