I am new to yii2.. how to apply css to column, column heading of yii2 gridview??
<?php $gridColumns = [ ['class' => 'yii\grid\SerialColumn'], ['class' => 'yii\grid\CheckboxColumn'], 'name', 'company_mail', //change the color of heading 'no_employees', 'email:email', . . .]; echo GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => $gridColumns, ]); ?>