I have a dataset with 3 datatables with a Level1->Level2->Level3 relation.I have a requirement where rows of the Level2 must be displayed horizontally.Level1 and Level3 rows must be displayed vertically.I tried to put the Level2 band in Cardview mode.But, it seems that a Cardview cannot have a child band, is this correct ?How can I do this this with the UltraGrid, or any other Infragistics tools ?Here is a screen shot of what it should look like:Thanks,Guillaume
Hi Guillaume,
I'm afraid I'm not sure I understand the question.
You are correct that CardView bands cannot display child bands.
canam said:Level2 must be displayed horizontally.Level1 and Level3 rows must be displayed vertically.
I'm not sure what this means. Are you referring to the columns within the row? Or do you mean relative to the parent/child rows?
If the former, then you could use a RowLayout to set up your row with columns vertically stacked like a card.
If the latter, then this is controlled by the grid.DisplayLayout.ViewStyle. This affects all bands in the grid, though. There's no way to specify a view for individual bands.
Hi Mike,
Let's say a Level2 row and its Level3 rows forms a "group".
When expanding Level1 row, I want to see its level2+3 groups displayed horizontally, on the right of each others. Under each group, level3 rows are displayed vertically.
In the screenshot included in my original post, under the "Ligne 2" row, you can see that there are 2 groups (G4,G5), under group "G4" is displayed 6 level3 rows, and under group "G5" is displayed 5 level3 rows. Level3 columns are repeated for each group.
Hope this is clearer.
Thanks,
Guillaume.
Okay, I thought that might be what you meant. But there is no way to do that. The bands in the grid can either be displayed Vertically or Horizontally. You can display one band under another vertical and another band horizontally next to each other.