contextMenu.openFunction
Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
contextMenu: {
open: function(e) {
console.log("ContextMenu is opening");
}
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
In this article