How can i reference a parent row and its child rows?
Can anyone provide me the sample code for looping through all the child rows for a particular parent row, to check some cell value?
UltraGridRow parentRow = this.ultraGrid1.ActiveRow; foreach (UltraGridRow childRow in parentRow.ChildBands["key of child band"].Rows.GetAllNonGroupByRows()) { if ((int)childRow.Cells["My cell"].Value == 5 { // Do something. } }