toolbar.toggleFunction

Fires when the user changes the checked state of a toggle button. Toolbar Events.

Example

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

    $("#fileManager").kendoFileManager({
        toolbar: {
            toggle: function(e) {
                console.log("Toolbar button toggled: " + e.checked);
            }
        },
        dataSource: {
            transport: {
                read: {
                    method: "POST",
                    url: baseUrl + "Read"
                }
            }
        }
    });
</script>
In this article
toolbar.toggle
Not finding the help you need?
Contact Support