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
695
Change initial grouping behaviour
posted

I am assigning a grouping field via code when the grid fires the FieldLayoutInitialized. When the grid loads all groups are collapsed, how can i set the first group to be expanded (or all groups)?

  • 695
    posted

    I found the answer in another post. I had to subscribe to the RecordInitialied event and than add the following code.

     

    GroupByRecord gbr = e.Record as GroupByRecord;

    if (gbr != null)

    gbr.IsExpanded = true;