DHTMLX Docs & Samples Explorer

addOption(options)

Required library edition: This method works with any edition of DHTMLX library
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: