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
300
Level 0 is not displayed
posted

I have a grid with three levels:0,1,2

when i try to show only one level

UltraGrid.DisplayLayout.Bands(0).LevelCount = 1

the grid displays level 1 not 0

What must i do?

Thanks

Parents
No Data
Reply
  • 469350
    Offline posted

    The LevelCount property has nothing to do with the bands. LevelCount is for groups.

    It's not possible to show Band 1 in the grid without showing Band 0. So I don't understand how you could have gotten that behavior.

    In any case, to only show the first band, you should set MaxBandDepth to 1 and also set the grid.DisplayLayout.ViewStyle to SingleBand.

Children
No Data