I have this GridView widget in my index.php view:
<?= GridView::widget([
'dataProvider' => $dataProvider,
//'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
//'user_id',
'fname',
'lname',
'username',
// 'password',
// 'user_type',
// 'creator',
],
]); ?>
It obviously generates a table containing data from my database table. I want to get rid of the GridView widget and use other means of displaying data from the database. How do I do that?
One of the reasons why I don't want to use the GridView widget is that I want the display to not look like a table. Something like this, for example:

Is there any way? Thanks.