Hello everybody and thanks for reading.
I have a grid view in which i want to add a column with the following code in the value =>
Or is there a way i could put this code inside a column as a fixed value =>
I have tried different approaches but non seem to work , a little tip would be greatly appreciated.
All i want to do is adda button to a column in grid view .
I have a grid view in which i want to add a column with the following code in the value =>
<a class="pull-right btn btn-info btn-small" target="_blank" id="yw3" href="/test/news/30"><i class="icon-comment"></i> </a>
Or is there a way i could put this code inside a column as a fixed value =>
<?php $this->widget('bootstrap.widgets.TbButton', array(
'label'=>'Primary',
'type'=>'primary', // null, 'primary', 'info', 'success', 'warning', 'danger' or 'inverse'
'size'=>'large', // null, 'large', 'small' or 'mini'
)); ?>I have tried different approaches but non seem to work , a little tip would be greatly appreciated.
All i want to do is adda button to a column in grid view .