Check documentation for the latest version of dhtmlxSuite forEachOption DHTMLX Docs

forEachOption

iterator, calls a user-defined handler function for each option

void forEachOption(function handler);
handlerfunctiona user-defined function, will take the option id as an argument

Example

myCombo.forEachOption(function(optId){
    // your code here
});

Change log

added in version 4.0

Back to top