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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -