iterator, calls a user-defined function for each cell
handler | function | user-defined function, passed cell object as an argument |
myLayout.forEachItem(function(cell){
// your code here, for example
cell.setText(cell.getText()+" updated");
});
Back to top