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

forEachItem

iterator, calls a user-defined function for each cell

void forEachItem(function handler);

Parameters

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