newbie question

I wan’ t to add eye view when i add this code it nothing happen

<?php $this->widget(‘booster.widgets.TbGridView’, array(

'dataProvider'=&gt;&#036;dataProvider,


'columns'=&gt;array(


    'UserID',


    'UserName',


    'SystemID',


    'Description',


    'LastPasswordChange'


     ,'DateCreated'





,array(


        'htmlOptions' =&gt; array('nowrap'=&gt;'nowrap'),


        'class'=&gt;'booster.widgets.TbButtonColumn',


        'viewButtonUrl'=&gt;'Yii::app()-&gt;createUrl(&#092;'userData/view&amp;id=&#092;'. &#036;data-&gt;UserID)',


        'updateButtonUrl'=&gt;'Yii::app()-&gt;createUrl(&#092;'userData/update&amp;id=&#092;'. &#036;data-&gt;UserID)',


        'template'=&gt;'{view}{update}'

)

),

)); ?>

sorry for a newbie question

try this


<?php $this->widget('booster.widgets.TbGridView', array(

'template'=>'{view}{update}',

'dataProvider'=>$dataProvider,

'columns'=>array(

'UserID',

'UserName',

'SystemID',

'Description',

'LastPasswordChange'

,'DateCreated'


,array(

'htmlOptions' => array('nowrap'=>'nowrap'),

'class'=>'booster.widgets.TbButtonColumn',

'viewButtonUrl'=>'Yii::app()->createUrl(\'userData/view&id=\'. $data->UserID)',

'updateButtonUrl'=>'Yii::app()->createUrl(\'userData/update&id=\'. $data->UserID)'

)




),

)); ?> 

when i put that code this will happen

:wacko: :(

thanks a lot

I realize its a stupid question

i resolve this by change this ‘class’=>‘booster.widgets.TbButtonColumn’, to this

‘class’=>‘CButtonColumn’,

topic close