DHTMLX Docs & Samples Explorer

Index
dhtmlxcombo
API Methods

### addOption(options)

Required library edition:
Required library file: dhtmlxcombo.js

adds a new option

- options - (variable) different input for different kinds of options - please refer to examples

    var z=new dhtmlXCombo("combo_zone3","alfa3",200);
    z.addOption([
               ["a","option A"],
               ["b","option B", "color:red;"],
               ["c","option C"]
    ]);

See also:

- Adding options