Search In Grid View

hi all,

i displayed my content from table using gridview as below ,but

the column i had displayed was not from the corresponding model .the thing i have to do is search for that column which was added newly from another model ,how can i proceed with?

$data->user->NAME was taken from another model ,i have to do search for that column in the current model ,help me please

thanks in advance :rolleyes:

<?php $this->widget(‘zii.widgets.grid.CGridView’, array(






                'header'=&gt;'Serial Num',















)); ?>

Hi, you can check the wiki:

Thanks a lot, done! :)