search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Obtain args.div in Scheduler's onEventDoubleClicked() event handler

Asked by Jason709
5 years ago.

(v.8.2 SP10)

I am currently calling the Bubble's showHtml() method upon event double-click in the Scheduler. Is there a way to obtain the args.div like it is in onEventClicked()? It doesn't appear to be populated in onEventDoubleClicked().

dps.eventDoubleClickHandling = "JavaScript";
dps.onEventDoubleClicked = function (args) {
   var html = '...';
   new DayPilot.Bubble().showHtml(html, args.div); // <!-- How to obtain args.div in double-click?
};

Currently, I am using it with just the html parameter but my preference would be to also supply a reference to the div.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.