New to Kendo UI for jQuery? Start a free 30-day trial

DataActionsField

configuration

Sets the field of the data item that provides the trailing actions-region content of the menu items, rendered as a k-menu-link-actions span positioned before the item's expand/collapse arrow. This is useful for displaying supplementary information next to a menu item's label, such as a keyboard-shortcut hint (for example, Ctrl+N). If not set, the Menu falls back to using the actions field of the data item. The actions content is HTML-encoded by default. To render it as raw HTML, set encoded: false on the data item and make sure that the value is trusted.

<ul id="menu"></ul>
<script>
    $("#menu").kendoMenu({
        dataSource: [
            { text: "New", actionShortcut: "Ctrl+N" },
            { text: "Open", actionShortcut: "Ctrl+O" },
            { text: "Save", actionShortcut: "Ctrl+S" }
        ],
        dataTextField: "text",
        dataActionsField: "actionShortcut"
    });
</script>
Not finding the help you need?
Contact Support