ClassGroup Interface
Deprecated in 5.2 - will not be removed until after 2026-10-01. Use the new @itwin/presentation-hierarchies
package for creating hierarchies.
Base class grouping allows grouping ECInstance nodes by their base class (as opposed to the hierarchy
specifications' groupByClass attribute, which always groups by direct class).
@see Base class grouping documentation section
Extends
Properties
| Name | Type | Description | |
|---|---|---|---|
| baseClass | SingleSchemaClassSpecification | undefined | Specification of the base ECClass to group by. | |
| createGroupForSingleItem | boolean | undefined | Specifies whether a grouping node should be created if there is only one item in that group. | |
| specType | "Class" | Used for serializing to JSON. |
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.