contextMenu.select Function

Fires when a menu item gets selected. ContextMenu Events.

Example

<div id="fileManager"></div>
<script>
    var baseUrl = "https://demos.telerik.com/kendo-ui/service/filemanager/";

    $("#fileManager").kendoFileManager({
        contextMenu: {
            select: function(e){
                console.log('Selected item: ' + $(e.item).text())
            }
        },
        dataSource: {
            transport: {
                read: {
                    type: "post",
                    url: baseUrl + "Read"
                }
            }
        }
    });
</script>
In this article