Parameters
- detailGrid
- Specifies the DetailGrid in which to insert the group.
- index
- The index at which to insert the new group. If -1, the groups is added to the end of the group templates.
- fieldname
- The FieldName of the column to assign to the new group's GroupBy property.