Skip to main content

Menu item component

Level: beginner

Use the Menu item component to add additional actions to a button menu item.

View the example of a configuration object that implements the button menu item below.

Example of a configuration object that implements the button menu item
{
"type": "crt.MenuItem",
"caption": "Menu item",
"clicked": {
"request": "crt.SetViewModelAttributeRequest",
"params": {
"attributeName": "CalendarViewMode",
"value": "day"
}
},
}

string type

Component type. crt.MenuItem for the Menu item component.


string caption

Localizable caption of button menu item.


object clicked

The request fires when a user clicks the button menu item. Creatio lets you bind the sending of a base request or custom request handlers implemented in remote module to the button click event.