method Groups.Add (Caption as String)
Adds a Group object to the collection and returns a reference to the newly created object.

TypeDescription
Caption as String A string expression that indicates the group's caption. The Caption supports built-in HTML format as described here, if the CaptionFormat property is exHTML.
ReturnDescription
GroupA Group object being added to Groups collection.
The Add method adds a new Group object to the Groups collection. The AddGroup event is fired each time when a new group is added to Groups collection. Use the Items property to access the group's Items collection. Use the Columns property to access the group's Columns collection. Use the AddItem method to add new items to the group. Use the Add method to add new columns to the group. The caption may contain built-in HTML tags, if the CaptionFormat property is exHTML. Use the Caption property to access the group's caption.