Hello,
I have in my backend a table but not all the data is fitting in, I need to make the table scrollable from left to right, I tried adding ‘class’ => ‘overflow: auto’, to the widget but it does not work.
Any idea how to make the widget tables scrollable please?
<?= DetailView::widget([
'model' => $model,
'class' => 'overflow: auto',
'attributes' => [
'id',
'section1',
'small_title',
'big_title',
'button_name',
'button_url:url',
'section2',
'sub_title',
'icon1',
'icon_title1',
'text1',
'icon2',
'icon_title2',
'text2',
'icon3',
'icon_title3',
'text3',
],
]) ?>
Thanks