Skip to main content

Collapsed Grouping

Comments

3 comments

  • Dapfor Team

    Hi,

    To change this behavior, modify the following default settings:

     

    Dapfor.Net.Ui.Preferences.Grid.ExpandGroups = false;

     

    Best Regards,
    Dapfor

    0
  • Hardygun50

    Hi, is it possible to set on individual grid ?

    Thanks

    0
  • Dapfor Team

    Yes, you can. For this you should to subscribe for Grid.RowAdded event and change Row.Expanded property in the newly added row:

     

    grid.RowAdded += delegate(object sender, GridRowEventArgs e)
    {
        if(e.Row.IsGroup)
        {
            e.Row.Expanded = false;    
        }
    };

     

    Best regards,

    Dapfor

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk