Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
getChildRows in GroupByMode
posted

Assume the situation where the grid is in GroupByMode, resulting in two rows that are yet to be expanded.  I am writing a loop that will go through the children nodes and perform some operations.  Here is the issue that I am running into:

*** loop through the grid rows, there are only 2 *** 

var rows = row.getChildRows();

alert(rows.length); <-- this alerts with the correct number of childern

var child_row = rows.getRow(0); <-- this results in "Object doesn't support this property or method"

So as I understand it I am able to get the collection of the child rows, I am able to get the lengths of the collection, however for some reason I am not able to use the getRow method on any index in that collection.  The grid is not using any load on deman capability, I am able to view the rows in the source of the page.  Where am I going wrong?

Thanks.