Check documentation for the latest version of dhtmlxSuite forEachItem DHTMLX Docs

forEachItem

iterator, calls a user-defined function for each cell

void forEachItem(function handler);
handlerfunctionuser-defined function, passed cell object as an argument

Example

myLayout.forEachItem(function(cell){
    // your code here, for example
    cell.setText(cell.getText()+" updated");
});

Back to top