$columns public property
Grid column configuration. Each array element represents the configuration for one particular grid column. For example, [
['class' => SerialColumn::className()],
[
'class' => DataColumn::className(), // this line is optional
'attribute' => 'name',
'format' => 'text',
'label' => 'Name',
],
['class' => CheckboxColumn::className()],
]
If a column is of class yii\grid\DataColumn, the "class" element can