dyn Type

Hi

I have some columns with dyn type because of the style(colors and arrows), but I need the cells to be read only. Can I have the dyn’ style and the read only on the cells??
Thanks!!!

You can do that with “onEditCell” event:

mygrid.attachEvent(“onEditCell”,function(stage,rId,cInd,nValue,oValue){
if (stage==0&&cInd==DYN_COLUMN_INDEX){
return false;
}
return true;
});

docs.dhtmlx.com/doku.php?id=dhtm … oneditcell

Also you can create custom eXcell type docs.dhtmlx.com/doku.php?id=dhtm … l_creation