我有一个在Yii2中常规的GridView。
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'tableOptions' => ['class' => 'table table-striped table-bordered table-responsive'],
'columns' => [
'firstName',
'lastName',
[
'attribute' => 'verified',
'format' => 'html',
'value' => function($data){
....
}
],
]
]); ?>
在移动设备上,GridView 不具备响应式设计。如何使 GridView 页面具备响应式设计?