grid - used the "dyn" cannot show "0" in the cell

hi,



that is setting colType

mygrid.setColTypes(“ed,ed,dyn,ed,dyn,dyn”);

when I add the now row , I don’t need to add “0” in dyn type

how to solve it.



thanks.

This is hardcoded in logic of dyn excell to set value as 0 when it was not provided

dhtmlxgridcell.js, line 1336
eXcell_dyn.prototype.setValue=function(val){
if (!val||isNaN(Number(val))){
val=0;
}