Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kenneth Cho on Jan 14, 2009 21:31
open dhtmlx forum
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.
Answer posted by Support on Jan 15, 2009 02:28
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;
    }