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
1130
disable sorting in only my parent band
posted

I have multiple bands in my grid.  I only want to turn sorting off for band(0), but allow the user to sort by columns in the other bands.  If I use the following code, sorting is turned off for all bands.

 grid.DisplayLayout.Override.HeaderClickAction = UltraWinGrid.HeaderClickAction.Select

grid.DisplayLayout.Override.SelectTypeCol = UltraWinGrid.SelectType.None

Is it possible to allow sorting on some bands and not others? 

Thanks, Dave

Parents
No Data
Reply
  • 10880
    Verified Answer
    posted

    Instead of setting the properties directly off the displaylayout.override, you can set the override properties on each band.

    ie. this.ultragrid1.displaylayout.bands[2].override.headerclickaction = *something*

Children