Categories | Question details Back To List | ||
combo in DhtmlxGrid - windows type behaviour Hi, We're using dhtmlx pro v2.1 build 90226. We have a dhtmlxGrid with a combo embedded ( can be either "co" or "combo") and would like the following features: 1. Drop down arrow displayed on combo when nothing selected (to give the user visual cue that they can drop down the cell). 2. Combo drops down when user keypresses the combo rather than when editing the combo. Please advise how they can be implemented using Javascript. Answer posted by Alex (support) on Mar 19, 2009 08:04 Hello, Unforunately, grid API doesn't allows to show image when editor is closed. You try to create the new excell (or modify existent) which will allow to show drop down image. The arctile is dhtmlxGrid/doc/articles/Custom_excell_creation.html We have sent you the possible modification of combo excell by email. It allows to show drop down image for each "combo" cell. Answer posted by awais on Mar 19, 2009 08:30 Thank you, the modified combo excell works as desired. Is there a quick way to drop down the combo excel on a keypress rather than on edit ? Answer posted by Alex (support) on Mar 19, 2009 09:05 Combo drop down can be shown only when cell is edited. You can use "tab" or "f2" key to edit cell. Also it is possible to enable editing by single click: grid.enableEditEvents(1,1,1); Answer posted on Mar 19, 2009 09:42 Wonderful !! Thank you. |