Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 26, 2008 02:42
open dhtmlx forum
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);
}
});
Answer posted by Support on Dec 29, 2008 17:05
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.