forEachCell

executes the code for each cell in a row

void forEachCell(string|number rowId,function custom_code);

Parameters

rowIdstring|numberthe id of the row where cells must be iterated
custom_codefunctiona function which gets the eXcell object as an incoming argument

Example

myGrid.forEachCell("row1",function(cellObj,ind){
//execute code for each cell in a row with the id "row1" 
//cellObj - related cell object
//ind - column index
});

Back to top