grid radio button

grid contain ra field at cell first i want to check the state of radiobutton if it is true



radio button checked is true









mygrid.attachEvent(“onCheckbox”,function(id,ind,state)

{

if(state==true)

{

mygrid.cells(id,0).setValue(1);

}

});

onCheckbox event occurs when state of radio buttom already changed, so while you can use above code and it will correctly fire it has not any sense, it will reset value, which is already set by user action.