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
100
loop through grid including bands (child rows)
posted

 

 This code loops through the parent rows - but I also need to include the child rows (bands(1) and (2).

Can you assist in the code to loop through these child rows

thanks

Dim rowSelected As UltraGridRow

For Each rowSelected In Me.UltraGrid1.Rows

                Dim irow As Integer = rowSelected.Band.Index

If rowSelected.Activated = True Then

              rowSelected.Activated = False

             rowSelected.Appearance.BackColor = Color.White

End If