is it possible to force datepicker to open above input field. As far as i get it datepicker by default opens below input but if it hasnt got the space it opens above if there is space above. Now i would like to force it to open above input by default because that fits my app design perfectly.
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 20 Feb 2015, 10:08 AM
Hello vjeran,
In general, the popup element calculates its position automatically based on the space around the anchor element.
This functionality can be modified passing specific popup options in the widget configuration:
popup: {
position: "bottom left",
origin: "top left"
},
Here is a Dojo demo that demonstrates this suggestion. Note that there are side affects of modifying the popup options, which cannot be modified without additional JavaSctript code.
Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!