DHTMLX Docs & Samples Explorer

forEachCell(rowId, custom_code)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

execute code for each cell in a row

  • rowId - id of row where cell must be itterated
  • custom_code - function which get eXcell object as incomming argument
   mygrid.forEachCell("row1",function(cellObj){
      //execute code for each cell in row with id "row1" 
      //cellObj - related cell object
   });

See also: forEachRow