executeCommand

Executes a command.

Parameters

command String

The command to execute.

args Object (optional)

The command arguments.

Example

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

    $("#fileManager").kendoFileManager({
        views: {
            list: {
                // kendoListView options
            }
        },
        dataSource: {
            transport: {
                read: {
                    type: "post",
                    url: baseUrl + "Read"
                }
            }
        }
    });

    var fileManager = $("#fileManager").data("kendoFileManager");

    fileManager.executeCommand("CreateFolderCommand");
</script>
In this article
Not finding the help you need? Improve this article