Check documentation for the latest version 6.0 of dhtmlxSuite forEachOption DHTMLX Docs

forEachOption

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

void forEachOption(function handler);

Parameters

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