popup.appendTo String

Defines a jQuery selector that will be used to find a container element, where the popup will be appended to.

Example - append the popup to a specific element

<div id="container">
    <input id="dropdowntree">
</div>
<script>
    $("#dropdowntree").kendoDropDownTree({
        dataSource: [
            { id: 1, name: "Apples" },
            { id: 2, name: "Oranges" }
        ],
        dataTextField: "name",
        dataValueField: "id",
        popup: {
            appendTo: "#container"
        }
    });
</script>
In this article
Not finding the help you need? Improve this article