<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`WorkspaceLeaf`](WorkspaceLeaf) › [`setGroup`](WorkspaceLeaf/setGroup) ## WorkspaceLeaf.setGroup() method **Signature:** ```typescript setGroup(group: string): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>group</code> | <code>string</code> | | **Returns:** `void`