Cgridview Render Row Same As Clistview

Hi,

While using cgridview usually I am stuck with adding column having customized html. Is there any way to provide row template to gridview same like clistview, which will render data row with customized html.

You can load your own css by loadingCssClass and itemsCssClass

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

'dataProvider'=>$dataProvider,


'columns'=>array(),


'loadingCssClass'=>'loading-class',


'itemsCssClass'=>'item-class'

));

more information found on this link

you can also try this extension

http://www.yiiframework.com/extension/yii-base/