Trying to change the Grid layout using the $layout property, but does not seem to work. Even tried changing the framework code to be sure and does not take effect. I did clear cache as well.
<?= GridView::widget([
'dataProvider' => $dataProvider,
'layout'=>"{summary}\n{pager}\n{items}",
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id',
'name',