hello.
We have a grid with few bands and we want to disable just one row
with all it's child bands.
we found how to disable one row:
grid.Rows[i].Activation=Activation.disabled
but the problem is that just this row became disabled
and all the child band (with their rows) not.
Thank yow
There's no way to disable a rows collection, so you would have to loop through all of the child rows. To get the child rows, you would do something like this:
grid.Rows[i].ChildBands[0].Rows
Of course, if there is more than one child band or more than one level of depth, you might have to loop or create a recursive function to walk down the rows.