EditCell disable checkbox

Hello, i have a grid with the following configuration, in this case I use the event “onEditCell” to copy the value for TXT Type column (not edit), but this event disable the event “onCheck”. As i can fix this?

dhxGrid.setColTypes(“cntr,ch,ro,ro,ro,txt,txt,txt,ro,ro,ro,txt”);
dhxGrid.enableEditEvents(false,true,false);

dhxGrid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){
if(cInd != 1){
if(stage==0){
dhxGrid.editCell();
}
if(stage==2 && oValue!=nValue){
dhxGrid.editStop();
}
}
});

I solved the problem modifying the event “onEditCell” this way.

dhxGrid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){
if(cInd != 1){
if(stage==0){
dhxGrid.editCell();
}
if(stage==2 && oValue!=nValue){
dhxGrid.editStop();
}
}else{
var cell=dhxGrid.cells(rId,cInd);
if (cell.isCheckbox()){
if(cell.isChecked()){
cell.setValue(0);
}else{
cell.setValue(1);
}
}
}
});