I would like to organize columns in several rows.
Is it possible with yii2?
For instance, with Django, it is possible to format layout by telling that first 5 columns would be displayed in the first row, than second 5 columns in the second row, etc..
One database record can be displayed in several rows of table.
Is it possible with yii2?
Expand|Select|Wrap|Line Numbers
- <?= GridView::widget([
- 'dataProvider' => $dataProvider,
- 'filterModel' => $searchModel,
- 'columns' => [
- ['class' => 'yii\grid\ActionColumn'],
- ['class' => 'yii\grid\SerialColumn'],
- 'id',
- 'th',
- 'nw_core_mat',
- 'nw_shell_mat',
- // .. tens of columns below, which i would like to display in 5 rows
- ],
- ]); ?>