PDA

View Full Version : grid panel with radio button column select get record



javapurna
29 Aug 2013, 4:50 AM
Hi , every one

my requirement is to display radio button in grid panel row column. if i select radio button in a grid get the record or value .

i am using extjs4.

i am attaching scrren short .
45610

please provide examples urls or solution

Farish
29 Aug 2013, 5:35 AM
one possible way is to render an html radio button into the column. the example below shows how to render an image:


{
xtype: 'gridcolumn',
dataIndex: 'filename',
text: 'File Name',
flex: 1,
renderer: function(value, metaData, record){
return "<img src='images/attachment.png' >";
}
}