The hideOnMouseOut property (boolean) controls whether the menu is hidden when the pointer leaves the menu.
DayPilot.Menu.hideOnMouseOutfalseconst menu = new DayPilot.Menu({
hideOnMouseOut: true,
items: [
{ text: "Details" },
{ text: "Delete" }
],
// ...
});