popup.position String
Specifies which point of the popup element to attach to the anchor's origin 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="multicolumncombobox" />
</div>
<script>
$("#multicolumncombobox").kendoMultiColumnComboBox({
dataSource: [
{ id: 1, name: "Apples" },
{ id: 2, name: "Oranges" }
],
dataTextField: "name",
dataValueField: "id",
popup: {
position: "top center"
},
columns: [
{field: "name"},
{field: "id"}
]
});
</script>
<style>
#container{
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
width: 100px;
height: 100px;
}
</style>