I am trying to use the combo box as in the XML below:
C1
C2
C3
But when the text = “” I get an error. getOptions(…).text is null or not an object. I tried updating to v2.0 and v2.1. When I did that the error went away but when I click on the combo and then click off, the row shows as being updated by the dataprocessor.
Please, try to make the following change in the latest version of dhtmlxgrid_excell_combo.js.
Please, locate line
this.cell.combo_value = val.firstChild.data
and replace it with:
this.cell.combo_value = val.firstChild.data?val.firstChild.data:"";
That didn’t seem to work I am using the v2.1 of the combo.
Please, try to add also the hightlighted line:
this.cell.combo_value = val.firstChild.data?val.firstChild.data:"";
if(this.cell.combo_value=="") this.cell._clearCell=true;
If problem still persists, please contact us at support@dhtmlx.com, provide your ref number - and we will send the fixed dhtmlxgrid_excell_combo.js