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
210
Display a many to many relationship in a grid
posted

I have a dataset with two tables that have a data relation defined on the key field.  I have two records in the first table with the same key field, and 3 records in the second table with the same key field. 

In InitializeLayout for my grid, I set e.Layout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.Horizontal.  Viewing the grid gives me this:

I want to have the key fields for the first two records grouped together so that the user doesn't get confused about the number of records in the 2nd table, such as this:

How would I go about doing that?

Thanks,

Brad