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
685
How to display rows horizontally, with child rows
posted

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

Parents
  • 469350
    Offline posted

    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.

     

Reply Children