align header text gridview yii2 code example Example: yii2 gridview header text align center 'headerOptions' => ['style' => 'text-align: center !important;'],