Grid combo

Hi

I used DhtmlGrid in my application. I want to expand combo box in the first column of grid when insert a row in to grid.



Thanks

You can use following code:
var combo = grid.cells(NEW_ROW_ID,COLUMN_INDEX).getCellCombo();
combo.openSelect();

Note “combo” eXcell type is integrated dhtmlxCombo into dhtmlxGrid. So all dhtmlxCombo API methods are availible for “combo” eXcell type. You can find all availible dhtmlxCombo API methods here dhtmlx.com/docs/products/dhtmlxC … api_events


Hello,


you can use the following approach to edit cell (to open combo):


grid.selectCell(rowIndex, cellIndex,false,false,true);