DHTMLX Docs & Samples Explorer

forEachRow(custom_code)

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

execute code for each row in a grid

  • custom_code - function which get row id as incomming argument
   mygrid.forEachRow(function(id){
      //any custom code here 
      //id - row's id
   });

See also: forEachCell