Hi All
Please help me to solve the below problem…
Below is the code for Custom Excell(Custom Radio button)…
Row is marked when i m clicking in the custom cell not in the radio button.
it should be marked when user will click on the radio button. not in the custom cell.
[b]function eXcell_ffradio(cell)
{
if (cell)
{
this.cell = cell;
this.grid = this.cell.parentNode.grid;
}
this.setValue=function(val)
{
var row_id=this.cell.parentNode.idd;
var Yvalue, Nvalue, value;
var cellIndex = this.cell._cellIndex;
if((val==‘Y’) || val==‘y’)
Yvalue = " Yes";
else
Yvalue= " Yes";
if((val==‘N’) || val==‘n’)
Nvalue = " No";
else
Nvalue= " No";
value = Yvalue+Nvalue;
this.setCValue(value);
}
this.getValue=function()
{
if(this.cell.innerHTML.indexOf('CHECKED') > -1){
if(this.cell.firstChild.checked==true)
return "Y";
else
return "N";
}else
return "";
}
}
eXcell_ffradio.prototype = new eXcell;[/b]
Thank You