Categories | Question details Back To List | ||
dhtmlx Grid hey there, I would like to know how I configure / fill a single combobox within the dhtmlxGrid. Currently I am using the standard version. Thanks in advance. Greetinx Patrick Answer posted by Support on Dec 05, 2007 05:08 If you mean "co" excell you can fill it by js commands, similar to next var combo=grid.getCombo(5); // 5 - index of column combo.put(1,"One"); combo.put(2,"Two"); combo.put(3,"Three"); Combo can be filled from grid xml as well, if you are using configuration from XML <rows> <head> <column type="co"> Column label <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> Also, if you need specific options set for some cell in grid, you can specify options directly inside cell tag <row id="1"> <cell>1 << this is cell value <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> </cell> Answer posted on Dec 05, 2007 06:39 Hey, thanks for the quick reply. I've implemented it into our test application and it works fine. very nice code ;-) Thx P. |