How to customize BsGridView to show links instead of BsButtonColumn?
Posted
by
felipe.zkn
on Stack Overflow
See other posts from Stack Overflow
or by felipe.zkn
Published on 2014-06-04T18:01:36Z
Indexed on
2014/06/05
15:25 UTC
Read the original article
Hit count: 286
Given the code below, I need to customize the third column to show two links instead of that BsButtonColumn
. I didn't find any related documentation to get the answer.
<?php
$this->widget(
'bootstrap.widgets.BsGridView',
array(
'id' => 'activity-translation-grid',
'dataProvider' => $model->search(),
'filter' => $model,
'columns' => array(
'id',
'name',
array(
'class' => 'BsButtonColumn',
),
),
)
);
?>
© Stack Overflow or respective owner