It's normal when I load the data on grid.DataSource the child band don't fire on InitializeRow just the BAND(0) ?
I add this on my code for initialize the child band (for each...)
If e.Row.Band.Index = 0 Then
...
for
Each row As UltraGridRow In e.Row.ChildBands(0).Rows
Next
END if
If e.Row.Band.Index = 1 Then
END IF
Hi, it's ok.
My child row is not display.
I add "For each child..."
Because I need to color RED Parent cell, when some condition on child row.
Francois
Hello Francois,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hi,
InitializeRow fires when the grid initially creates the UltraGridRow object and also any time any cell value in a row changes.
The child rows probably aren't created until you expand a parent row. Creating the rows before that would be a waste of memory and inefficient.
The event might not be firing because your grid is not being initialized with expanded rows. The event will fire when the child rows are being displayed(expanded). You could try this in my sample which is attached to this post.
Please do not hesitate to contact us if you need any additional assistance.