DHTMLX Docs & Samples Explorer

Index
dhtmlxcombo

## Operations with Combobox's options

1. Add option - combo.addOption(…);

2. Delete option - combo.deleteOption(value);

3. Update option - combo.updateOption(oldvalue,value,text,css);

4. Get selected value option - combo.getSelectedValue();

5. Get selected text - combo.getSelectedText();

6. Get text in combo edit - combo.getComboText();

7. Set text in combo edit - combo.setComboText();

8. Set width of options list - combo.setOptionWidth(width);

9. Set height of options list - combo.setOptionHeight(height);

10. Enable/Disable automatic width of options list - combo.enableOptionAutoWidth(mode);

11. Enable/Disable automatic height of options list - combo.enableOptionAutoHeight(mode);