popup.origin String
Specifies how to position the popup element based on anchor point. The value is space separated "y" plus "x" position.
The available "y" positions are:
- "bottom"
- "center"
- "top"
The available "x" positions are:
- "left"
- "center"
- "right"
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: {
origin: "top left"
}
});
</script>