dhtmlx combo in grid cell

Dear all,

it seams the onChange event is fired twice in a combo in a grid cell.

the setColTypes I use is combo - the code to create the combo is

  myshiftcombo = mygrid.getColumnCombo(1);
                 myshiftcombo.enableFilteringMode(true);
                 myshiftcombo.readonly(true);
                 myshiftcombo.attachEvent('onChange', function(value, text){
                  alert(value);
                 });
                 myshiftcombo.load("/xml/shifts_2.xml");

I use input methods

  mygrid.enableEditEvents(false,false,false);
  mygrid.enableLightMouseNavigation(true);

The event is fired first time if I single click the cell and a second time if I really change the value.

A few weeks ago I have the same problem with a buttonCombo in a ribbon. Here I get a prototyping solve this problem. But here it won´t work.

Greetings

In case of “combo” in dhtmlxGrid pleas,e try to use the dhtmlxGrid events: onCellChanged or onEditCell.
docs.dhtmlx.com/api__dhtmlxgrid_ … event.html
docs.dhtmlx.com/api__dhtmlxgrid_ … event.html

Works fine

thks