Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.28 KB

child-collection-groups.md

File metadata and controls

35 lines (24 loc) · 1.28 KB
description
Configuring child collection groups in Konstrukt, the back office UI builder for Umbraco.

Child Collection Groups

A child collection group is a container for other child collections. It's purpose is mainly to provide a logical grouping of multiple child collections to help with organisation and an improved user experience.

Child Collection Groups

Defining a child collection group

You define a child collection group by calling one of the AddChildCollectionGroup methods on a given collection config builder instance.

AddChildCollectionGroup(string name, Lambda childCollectionGroupConfig = null) : KonstruktChildCollectionGroupConfigBuilder

Adds a child collection group to the current collection with the given name and default icon.

// Example
collectionConfig.AddChildCollectionGroup("Family", childCollectionGroupConfig => {
    ...
});

AddChildCollectionGroup(string name, string icon, Lambda childCollectionGroupConfig = null) : KonstruktChildCollectionGroupConfigBuilder

Adds a child collection group to the current collection with the given name and icon.

// Example
collectionConfig.AddChildCollectionGroup("Family", "icon-users", childCollectionGroupConfig => {
    ...
});