I have grid which I am instantiating thru code and setting its properties.
In the constructor, I set the GroupByBox.Hidden to true.
During runtime, if the user requests for the box by clicking on an option, I want to show it. The problem is that setting the Hidden to false does make the box show.
I am wondering if there is some other property that maybe causing the box from showing. Any suggestions on what I could check?
Thanks!
Indeed, you also need to set the ViewStyle to OutlookGroupBy
It turned out to be ViewStyleBand
ultragrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy;
that did that. Thanks for your suggestion, it helped save me a bunch of time.
Sorry, I always seem to get those two mixed up :)
kevinmeiresonne said: Sorry, I always seem to get those two mixed up :)
Me, too. :)