Hidden ActionColumn

Hi guys and girls How could I have a hidden Action Column, but using the model?

Hi Alessandro,

I don’t understand what “hidden Action Column” means. What is it?
Or, what do you want it to do for you? How do you want to use it in your app?

1 Like

Hi @AlessandroCuba you set hidden column in form like the example below , hope this helps

echo $form->field($model, 'hidden1')->hiddenInput(['value'=> $value])->label(false);

If i understand, you need this https://www.yiiframework.com/doc/api/2.0/yii-grid-actioncolumn.
You have visible public property.
I hope this helps you :slightly_smiling_face: