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
190
REMOVE OutlookGroupBy in Code
posted

Hello Everyone

I am looking for a way on how I can trigger the GroupBy-header to appear/disappear?

After looking in the designercode and this article I know I can enable it by using

base.DataGrid.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;

but how can I remove it? There is no Infragistics.Win.UltraWinGrid.ViewStyleBand.None for example.

  • 37774
    Suggested Answer
    posted

    You probably want to set it to ViewStyleBand.Vertical, since this is the same view as the OutlookGroupBy, without the ability to perform the grouping.

    -Matt