Check documentation for the latest version of dhtmlxSuite setPosition DHTMLX Docs


sets a calendar's position when it's attached to input

void setPosition(string pos);
posstringthe position of a calendar when it's attached to input


myCalendar.setPosition("right"); // "bottom"


when a calendar is attached to a custom parent, you can pass x and y coordinates directly

// sets left and top offsets of a calendar
myCalendar.setPosition(10, 20);
// sets just left offset of a calendar
// sets just top offset of a calendar
myCalendar.setPosition(null, 20);
Back to top