I have a kartik's gridview widget in my Yii2 template page and it lists the data fetched from the database, however if the data is too long it shows a horizontal scroll at the bottom of the widget but I want it to auto wrap content of the column just to fit in the page. Here is my code
<?= GridView::widget([
'responsiveWrap' => false,
'hover' => true,
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'kartik\grid\SerialColumn'],
'conf_key',
['attribute' => 'conf_value',
'class' => 'kartik\grid\DataColumn',
'noWrap' => false
],
'class_name',
['class' => 'kartik\grid\ActionColumn'],
],
]); ?>
I want to wrap conf_value column for example how to do it? here i put the screenshot how widget looks
Note: noWrap doesn't work because the data have no whitespace!