how can i create custom grid column with radio button in custom module in magento -
I want to create a custom grid column with the radio button in it I have created with the following code, but the problem is, Radio button name is not found, so radio button can be selected multiple times ..... Please help me get the name of the radio button
secure Function_prepareColumns () & lt; Br / & gt; {$ This-> addColumn ('pr_id', & lt; br / & gt; array (
'index' = & gt; 'entity_id', & lt; br / & gt; 'type' = & gt; 'radio', & lt; br / & gt; & lt; br / & gt; Gt; 'name' = & gt; 'pride', & lt; br / & gt; 'width' => gt; 50px '', & lt; br / & gt;)); ........ Please help me
< Pre> $ this- & gt; AddColumn ('pr_id', array ('header' => gt; mga :: helper ('adminhtml') - & gt; __ ('p_id'), 'type' = & gt; radio ',' html_name '= & Gt; 'pride []', 'align' => gtk; 'center', 'value' => array ('1'));
Comments
Post a Comment