Check documentation for the latest version of dhtmlxSuite forEachRow DHTMLX Docs

forEachRow

executes code for each row in the treegrid

void forEachRow(function custom_code);
custom_codefunctionfunction which gets the row id as the incoming argument

Example

myTreeGrid.forEachRow(function(id){
//your code here 
//id - row's id
});

Back to top