Grig readonly checkbox

I’m trying to create eXcell for readonly checkbox as described in documentation:

function eXcell_roch(cell){
	if (cell){
		this.cell = cell;
		this.grid = this.cell.parentNode.grid;
	}
	this.edit = function(){}
	this.isDisabled = function(){ return true; }
	this.setValue=function(val){
		var c_val = (val==0)?'':' checked';
		this.setCValue("<input type='checkbox'"+c_val+">",val);                                      
	}
}
eXcell_roch.prototype = new eXcell;

But in the grid this new checkbox (of type roch) still could be checked/unchecked.
Where is a mistake?

As I still don’t get any idea from the community, I had to use onEditCell just to cancel the edit of my checkbox:

grid.attachEvent("onEditCell", function(stage,rId,cInd,nValue,oValue){if(cInd==chBoxColumnNumber){return false;}else{return true;}});

This works OK

also you may disable the checkbox the following way:

mygrid.cells(rId,colInd).setDisabled(true)