How to divide the gride view colunm in section

Hii i want a solution in yii2
i have a index page and i want to divide the one column of the gride view in small section
please help me finding this solution or if you have any solution than plzz give me

thank you

Hi Kushboo Rani,

Do you have any sample code or rough layout of your expected grid view?


Like @arojohnson said we may need more info on what you are looking for. However, to manipulate a column style in the Grid Column try using the $contentOptions property.

['attribute' => 'column1', 
'contentOptions' => ['style' => 'text-align: center'], 
'headerOptions' => ['style' => 'width:9%'],

Review the other properties as well if they are useful.