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)