I have a grid and in the first column there are checkboxes in each row.
Now I want to run a function through the whole grid and check which checkbox is checked.
Unfortunately I can’t find a function or similar like in versions before (foreachRow).
Please, try to use the forEach() method of a dataCollection:
grid.data.forEach(function(item, index, array) {
console.log("This is an item of dataCollection: ", item);
console.log("This is an index of the element: ", index);
console.log("This is an array of the elements: ", array);
});
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan