Gets a GroupedItems instance (children as component instances). Warns and returns null when it does not exist or has another type.
The dataElement of the GroupedItems.
The GroupedItems, or null.
null
// The tools shown under the Annotate ribbonconst annotateTools = instance.UI.getGroupedItems('annotateGroupedItems');annotateTools.setItems(annotateTools.items.filter(item => item.dataElement !== 'eraserToolButton')); Copy
// The tools shown under the Annotate ribbonconst annotateTools = instance.UI.getGroupedItems('annotateGroupedItems');annotateTools.setItems(annotateTools.items.filter(item => item.dataElement !== 'eraserToolButton'));
Gets a GroupedItems instance (children as component instances). Warns and returns null when it does not exist or has another type.