I have searching over web but cannot find appropriate solution.
what I to do is to give name or label checkbox colum in header.
by using this,
['class' => 'yii\grid\CheckboxColumn',],
a column of checkbox will added to table.
what I do is :
['class' => 'yii\grid\CheckboxColumn',
'header' => Html::checkBox('selection_all', false, [
'class' => 'select-on-check-all',
'label' => 'Check Attend Only',
]),
],
and the checbox is appear at the left of "Check Attend Only". in addition, the checkbox below the header are not centered.
How to position checkbox to the right of "Check Attend Only"? and centered checkbox below the header?
Thanks.
Aucun commentaire:
Enregistrer un commentaire