Hi,
By default, when creating a "crud" the table items are shown in a "GridView".
How do I show the way I want.
Instead of being this way:
GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id_user',
'name',
'description:ntext',
'comment:ntext',
'status',
['class' => 'yii\grid\ActionColumn'],
],
]);
Wanted each row in the table, were presented this way:
<ul class="list-group">
<li class="list-group-item">
<div class="row">
<h4 class="list-group-item-heading">
<a href="user.php?id=1"><span class="glyphicon glyphicon-folder-close"></span> NAME USER </a>
</h4>
<p class="list-group-item-text">DESCRIPTION USER</p>
</div>
</li>
</ul>
Thank’s