You can iterate through the rows in your grid using the forEachRow method:
docs.dhtmlx.com/doku.php?id=dhtm … foreachrow
You may get the value of your cell using the getValue() method:
docs.dhtmlx.com/doku.php?id=dhtm … t_getvalue
You may set new exCell type to any cell using the setCellExcellType() method:
docs.dhtmlx.com/doku.php?id=dhtm … excelltype