For Each Row in Grid v8?

Hello,

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).

How can i go through the whole grid now?

Thanks for your help :slight_smile:

Hello.

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);
});