我有這個問題:我在視圖中顯示的GridView太長,它不能完全適合屏幕,可能是因爲一個值參數太長,並且它不跟隨文本向下。這此截圖爲GridView:Yii 2 - GridView不能修復屏幕。如何解決它?
而這種代碼爲GridView
<?php Pjax::begin(); ?>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'fecha',
'nombreSesion',
'objetivosPlanificacion:ntext',
['class' => 'yii\grid\ActionColumn'],
],
]);
?>
<?php Pjax::end(); ?>