Categories | Question details Back To List | ||
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 Answer posted by dhxSupport on Jun 24, 2009 01:52 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 http://dhtmlx.com/docs/products/dhtmlxCombo/doc/alpha.html#combo_api_a http://dhtmlx.com/docs/products/dhtmlxCombo/doc/events.html#combo_api_events Answer posted by Alex (support) on Jun 24, 2009 01:57 Hello, you can use the following approach to edit cell (to open combo): grid.selectCell(rowIndex, cellIndex,false,false,true); |