API Reference > presentation-common > PresentationRules > ClassGroup ClassGroup Interface Allows grouping ECInstance nodes by their base class. Extends GroupingSpecificationBase Properties Name Type Description baseClass undefined | SingleSchemaClassSpecification Specification of the base ECClass to group by. createGroupForSingleItem undefined | boolean Should the grouping node be created if there is only one item in that group. specType Class Used for serializing to JSON. Defined in presentation/common/src/presentation-common/rules/customization/GroupingRule.ts Line 83 Last Updated: 11 June, 2024