Answer the question
In order to leave comments, you need to log in
(not set) GridView::widget, why doesn't it show records from the database?
Why doesn't it show the entry from the database?
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id',
'username',
'email:email',
// 'password',
// 'create',
'ban',
'role',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question