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

getting selected events

Asked by prabhat
6 years ago.

Hi

I want to get multiple selected events while moving.

this.onEventMove = function (args) {
var selectedEvents = me.dp.multiselect.events();
}

but not getting events from the above.

Thank you

Answer posted by Dan Letecky [DayPilot]
6 years ago.

This seems to work fine for me:

var dp = new DayPilot.Scheduler("dp");
// ...
dp.onEventMove = function (args) { 
  var selectedEvents = dp.multiselect.events(); 
};
dp.init();

If it still doesn't work, can you please post a more complete example?

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