i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > commands > IGroup > type

    commands.IGroup.type property

    Gets the render type of the group.

    Signature:

    readonly type?: GroupType;
    

    Returns: GroupType

    Introduced: version 1.9

    Remarks

    Use this property to explicitly control how the group is presented in the user interface. The options are: - 'expanded' - shows all commands inline (default) - 'collapsed' - shows the group as a single icon/label button that opens a dropdown - 'command' - indicates the group exposes a primary action (the first surfaced command) while also presenting a menu of related actions; user may render this as a split button in a ribbon, or as an actionable menu entry with a submenu in popup menus.

    If type is specified it takes precedence over the deprecated commands.IGroupBase.isCollapsed boolean.

    In this article
    Back to top © N. Harris Computer Corporation