Hello:
The Datagrid is bound to a data set that has two tables with a one-to-many relationship. How do I disable the grid from showing the second band.
venki
Personally, I recommend setting both. In my experience, setting the ViewStyle to SingleBand prevents the display of the child bands, but the grid still ends up loading them into memory.
Venki,
There are two different ways to accomplish this. One way is to set your grid's DisplayLayout.MaxBandDepth property to 1. The other way is to set the grid's DisplayLayout.ViewStyle property to SingleBand (Infragistics.Win.UltraWinGrid.ViewStyle.SingleBand).