I would like instead of the ID, display the name of the employee.
<?php
$this->widget('zii.widgets.grid.CGridView', array(
'id'=>'documento-grid',
'dataProvider'=>$model->search(),
'columns'=>array(
'id_documento',
'nome_documento',
array(
'name'=>'Download',
'header'=>'Download',
'type'=>'raw',
'value'=>'CHtml::link($data->path_documento, array("documento/download","id"=>$data->id_documento))',
//'htmlOptions'=>array('width'=>'10%'),
),
'id_documento_funcionario',
array(
'class'=>'CButtonColumn',
'template'=>'{view}{delete}',
),
),
));
?>