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

ContextMenu in FileManager

The FileManager's ContextMenu enables you to easily execute FileManager commands on the selected file or folder.

The component uses the Kendo ContextMenu, enabling you to get full advantage of its Client API. Once an item is selected, the corresponding command is executed.

The default items in the ContextMenu are rename and delete. You can define your custom items which can execute custom commands. You can also manage what items should be visible, by enumerating the needed ones in the initialization of the component (see Example below)

    <div id="filemanager"></div>

    $("#filemanager").kendoFileManager({
        //contextMenu: false, //disables the ContextMenu
        contextMenu: {
            items: ["rename"] //initializing only the `rename` item 
        },
        dataSource: {
            data: myData
        }
    });

See Also

In this article