I'm using TbButtonColumn to render some icon buttons. I want to render text instead of the icons. Is this possible and how would I alter the following code to do this?
- $gridColumns = array(
- array('name'=>'nick_name', 'header'=>'Interests Sets'),
- array(
- 'htmlOptions' => array('nowrap'=>'nowrap'),
- 'class'=>'bootstrap.widgets.TbButtonColumn',
- 'template'=>'{add} {view}',
- 'buttons'=>array(
- 'add' => array
- (
- 'label'=>'See this friend\'s list',
- 'icon'=>'plus',
- 'url'=>'Yii::app()->createUrl("itemList/viewlist", array("friend_id"=>$data->id))',
- 'options'=>array(
- 'class'=>'btn btn-small',
- ),
- ),
- 'view' => array(
- 'label'=>'Search under this friend\'s interesrs',
- 'url'=>'Yii::app()->createUrl("friend/filter", array("friend_id"=>$data->id))',
- 'options'=>array(
- 'class'=>'btn btn-small',
- ),
- ),
-
- ),
- )
- );