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
880
How do I limit the bands to 1
posted

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

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    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).

Children