Activates a ribbon item. Behaves like setToolbarGroup: switching groups also cancels the current tool, ends content or page editing, closes style panels and swaps the header when needed. The argument must be a string.
setToolbarGroup
The dataElement of the ribbon item.
instance.UI.setActiveRibbonItem(instance.UI.ToolbarGroup.FORMS);console.log(instance.UI.getActiveRibbonItem()); // 'toolbarGroup-Forms' Copy
instance.UI.setActiveRibbonItem(instance.UI.ToolbarGroup.FORMS);console.log(instance.UI.getActiveRibbonItem()); // 'toolbarGroup-Forms'
Activates a ribbon item. Behaves like
setToolbarGroup: switching groups also cancels the current tool, ends content or page editing, closes style panels and swaps the header when needed. The argument must be a string.