Radiobutton column in GridView

Hi there,

I’m developing an incident management system and needed to include a GridView in the form to create a new incident so that users can search the object to be linked to the incident. I’ve tried adding a checkboxcolumn to the GridView but in that case the user can select more than one columns and that is not what I want. I was thinkning that instead CheckboxColumn it would be useful to have a RadioButonColumn.

How could I do that?

Thanks in advance

http://www.yiiframework.com/doc-2.0/yii-grid-checkboxcolumn.html#$multiple-detail

Its default value is ‘true’, but you can set it to false in order to achieve your goal.

Thanks softark. I finally managed to do it with the Kartik RadioColumn and Bootstrap Modal window