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

getting selected events

Asked by prabhat
1 year 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]
1 year 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 6 months old and has been closed. Please create a new question if you have anything to add.