I want to hide Yii2 GridView Action Column buttons on the base of model field status. If status is = 1 then hide view button only. How I can?
Code:
You can use ['class' => ActionColumn::className(),'template'=>'{view} {update}' ] on your gridview.
['class' => ActionColumn::className(),'template'=>'{view} {update}' ]