checkAll Boolean (default: false)

When this options is set to true and checkboxes are enabled, a tristate checkbox appears above the embedded treeview. Clicking that checkbox will check or uncheck all the loaded enabled items of the treeview.

Note: when 'checkAll' is set to 'true' it is recommended that loadOnDemand is set to 'false' because otherwise checkAll may not interact with all subnodes of the treeview.

Example - disable the clear button

<input id="dropdowntree"/>

<script>
$("#dropdowntree").kendoDropDownTree({
    dataSource: [{ text: "item1", value: 1 }, { text: "item2", value: 2 }],
    checkboxes: true,
    checkAll: false
});
</script>
In this article
Not finding the help you need? Improve this article