Hi,
Is there any was to change the view of a GridView using the Widget config array (Example using a new custom view path)
GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $institution,
'columns' => [
'id',
'name',
'bornon',
'description',
['class' => 'yii\grid\ActionColumn'],
],
'customViewPath' => ....., <= EXAMPLE HERE IS THE PATH TO THE CUSTOM VIEW
]);
Thanks