I am trying to enclose the table data of GridView within anchor tag.
<?= GridView::widget([
// is there any property that can be set to achieve this?
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class'=>'yii\grid\SerialColumn'],
['attribute' => 'customer_user_name2',],
],
]); ?>
The data should be rendered in html page as below
<td> <!-- how to add this? --> <a>data</a> </td>
Thanks.