Home Forums WinForms controls Xceed Grid for WinForms Groups – code being ignored

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

    I am trying to set up a group in code but it just seems to be ignored. The code runs Ok but it doesn’t do anything. I am using the CustomGroupMargin example from the GridExtensions sample but even if I just use a normal group it doesn’t do anything. Am I missing something?

    Code is:

    Dim group1 As Group = New Group(New CustomGroupMargin(String.Empty))
    group1.GroupBy = “Attribute”
    group1.HeaderRows.Add(New GroupManagerRow)
    gridProfiles.GroupTemplates.Add(group1)

    Imported from legacy forums. Posted by Paley (had 2408 views)

    User (Old forums)
    Member
    Post count: 23064

    You must call this method at end.

    gridCommessa.UpdateGrouping()

    Imported from legacy forums. Posted by Fusion (had 249 views)

    User (Old forums)
    Member
    Post count: 23064

    ops…

    gridCommessa…. <— your grid control 😛

    Imported from legacy forums. Posted by Fusion (had 3430 views)

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