i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > commands > ICommandDynamicGroup > primaryCommand

    commands.ICommandDynamicGroup.primaryCommand property

    Gets the split button's primary command, as a command or command identifier.

    Signature:

    readonly primaryCommand: ICommand | CommandId;
    

    Returns: ICommand | CommandId

    Introduced: version 1.10

    Remarks

    The primary command is not in the drop-down menu, which commands.IDynamicGroupConfigBase.onPopulate() populates. The split button is displayed before the group is first opened, so the primary command must already exist: create it during plug-in initialization, not inside onPopulate.

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