Hello, I have troubles with my Infragistics Ultragrid.
I am trying to make this kind of grid:
ROW1
|_A | B |
ROW2
|_C | D |
In this grid, my child band can have different columns depending the First Band's first column's name.
I can'd figure out how to do it because when I change my second row childband, the first row's child band automaticaly synchronize.
I tryed to put A, B, C and D columns in the same band and:
- change the columns size
- hide the colums I don't want
In both cases it synchronise with the other rows.
I tryed to put A and B in a first band and C and D in a second one.
When I hide one of those childBands, it is hidden the other rows too.
Anyone could please help me?
PS: sorry for my poor English.
The grid only supports binding to a homogenous data source. You cannot have a band with different columns under each parent row.
So one thing you could do is set up your data source with three bands. The root band would remain the same, but it would have two child bands with different sets of columns. Then each parent row would only have child rows in one band or the other but not both.
Thanks for quick reply,
That's what I tried to do but when I change my child band for the root band, it changes every rows' child band.
I don't understand what you are saying. What are you changing? It sounds like you are changing the columns of the band, but the columns apply to the entire band, you cannot change the columns of a band for each parent row.