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

Angular 4+, event multi select

Asked by MT
6 years ago.

Hi
Is multiSelectRectangle supported in angular as described here ?
https://doc.daypilot.org/scheduler/event-multi-selecting/

BR MT

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

Yes, it is supported in Angular as well.

In Angular, you just need to specify the properties and event handlers on the "config" object instead of DayPilot.Scheduler object. All features work the same way, it's just the config API that is different.

Comment posted by MT
6 years ago.

Maybe I am confused by the fact that I don't find the word Rectangle in the daypilot-angular.min.d.ts file.

If I print the this.scheduler.control.multiselect object in the onEventClick event handler I see the startRectangle function, but I can not call it from typescript as it is not mapped.

Am I missing something here ?
BR MT

Comment posted by MT
6 years ago.

I do see that onRectangleEventSelect: args => { console.log(args); } seems to respond without the startRectangle call. So I should not need the startRectangle call then ?

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