Answer the question
In order to leave comments, you need to log in
How to change default directory in GridView widget?
How to change the default directory in the GridView widget, that is, not the one that was originally set to go to the directory in which it is located, but another one. That is, there is an additional widget in the mater directory, you need it to go to edit data not in mater a ssilkiid :
mater /view.php
<?= GridView::widget([
'dataProvider' => $dataProvider2,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'naim',
['class' => 'yii\grid\ActionColumn','template' => '{update}{delete}'],
],
]); ?>
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