ro column type with math calculations

When I use the following code,
mygrid.setColTypes(“ed,ed,ed,ro”);
the last column is read only but when I introduce math calculations as follows
mygrid.setColTypes(“ed,ed,ed,ro[=c2*c3]”);

the read only property is lost, I am to edit the values in the last column. (the calculation part works though)
Is it possible to set a column type as read only by using math calculations as above?

You can try to use onCelledit event to block the edit mode (return false) of the cell to the needed column.

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

Thanks, that works.

by the way you may try this:
mygrid.enableMathEditing(false);

:blush: