Dear Tekerik Team,
I'm using the following code (found on this forum) to expand / collapse a self referencing hierarchy grid:
For Each row1 As GridViewDataRowInfo In RadGridView1.Rows
row1.IsExpanded = True
While the code works after the data are first loaded, it only collapses child rows when I add a new row to the dataset. I wonder if there is another method to collapse / expand all rows.
In the same vein and if I add a parent row to the self referencing hierarchy grid, the following code does not start the edit:
lastRow As GridViewRowInfo = RadGridView1.Rows(RadGridView1.Rows.Count - 1)
The above code would however start the edit on a child row. Is there any other method for a parent row?