In my database, I have two tables, manufacturer and plastic:
CREATE TABLE `manufacturer` (
It also works if you just use 'manufacturer_search' for the name of the column, as shown in the tutorial you mentioned above.
widget('zii.widgets.grid.CGridView', array(
'id'=>'plastic-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'name',
array(
'name'=>'manufacturer_search',
'value'=>'$data->manufacturer->name'
),
array(
'class'=>'CButtonColumn',
),
),
)); ?>