Search results

RibbonFileMenu API in JavaScript Ribbon API control

Defines the items of Ribbon.

Methods

addItems

Add items to FileMenu.

Parameter Type Description
items MenuItemModel[] Gets the items to be added.
target string Gets the target item to add the items.
isAfter boolean Gets the boolean value to add the items after or before the target item.
isUniqueId (optional) boolean Gets whether the target provided is uniqueId or not.

Returns void

disableItems

Disable items in FileMenu.

Parameter Type Description
items string[] Gets the items to be disabled.
isUniqueId (optional) boolean Gets whether the target provided is uniqueId or not.

Returns void

enableItems

Enable items in FileMenu.

Parameter Type Description
items string[] Gets the items to be enabled.
isUniqueId (optional) boolean Gets whether the target provided is uniqueId or not.

Returns void

removeItems

Remove items from FileMenu.

Parameter Type Description
items string[] Gets the items to be removed.
isUniqueId (optional) boolean Gets whether the target provided is uniqueId or not.

Returns void

setItem

Update items in FileMenu.

Parameter Type Description
item MenuItem Gets the item to be updated.
id (optional) string Gets the id of the item to be updated.
isUniqueId (optional) boolean Gets whether the id provided is uniqueId or not.

Returns void