Home Forums WinForms controls Xceed Grid for WinForms Group Manager Row

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14479 |

    Is there a way to add column manager row for each group in the grid?

    Thanks

    Imported from legacy forums. Posted by xUser (had 1848 views)

    User (Old forums)
    Member
    Post count: 23064

    figured it out. I am posting the code for others to use it.

    grid.BeginInit();

    foreach(Xceed.Grid.Group grp in grid.GroupTemplates)
    {
    Xceed.Grid.ColumnManagerRow crow = new ColumnManagerRow();
    grid.HeaderRows.Add(crow);

    }
    grid.UpdateGrouping();
    grid.EndInit();

    Imported from legacy forums. Posted by xUser (had 3579 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.