Change View in a CRUD


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:


 'dataProvider' => $dataProvider,

 'filterModel' => $searchModel,

 'columns' => [

  ['class' => 'yii\grid\SerialColumn'],






    ['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>


   <p class="list-group-item-text">DESCRIPTION USER</p>




Thank’s ;)

You can use "ListView" for it.