dhtmlXgrid - color picker ... but read only

Hi,



I’m using the color picker as interface for some alarms.

But the user don’t have to see the color picker if he click on the cell.



I’m going to modify dhtmlXGridCell.js but i don’t manage do to it.



Can you please help me to touch your code?



Thanks,



Julien PELLET

I’m going to modify dhtmlXGridCell.js but i don’t manage do to it.
Can be done without any code modifications. You can disable edit operation for some column in the grid by

grid.attachEvent(“onEditCell”,function(stage,id,index){
if (index == SOME ) return false;
return true;
})

where SOME - index of column, which must not be edited.

In case of code modifcation - the same can be done by adding
this.isDisabled=function(){
return true;
}

To the code of eXcell_cp in dhtmlxgridcells.js