Set Empty Header In Cgridview

how can i set empty header


            'type' => 'raw',

            'name' => 'image',

            'header' => ' ',


            'value' => 'CHtml::link(count($data->dispositivos),array("dispositivos/admin","idlocalizacao"=>$data->id_local))'


not working

What do you mean it’s not working? If you try to output an empty string as the header, Yii will instead output your CGridview instances blankDisplay property, which by default is  

So unless you overrode that, I’m not too sure what you mean by not working.


Please check like, to set properties…

name and header both empty no any header display in grid.

'name' => '',

'header' => '',

thanks, i did it setting the atribute label.