but here getting multiple events and not able to identify exact one for different actions.
So please let me know exact event type name for -
1) Event Save (when u click save button on event editor)
2) Event Delete (when we delete event using right click OR using delete button from keyboard )
3) Event Update (event drag for different date OR assignees)
4) Add /remove Assignee ( when u update assignees in event editor box)
Can u provide any example ? which can show how to get these events ?
Re: [ANGULAR] Scheduler Pro events
Posted: Thu Oct 15, 2020 2:50 pm
by alex.l
Hi NARESH.RAI,
When exactly do you expect to have destroy event of EventEdit feature? If you are listening it on onSchedulerEvents(), destroy event will be triggered on scheduler destroy, not eventEdit feature destroy.
Btw, I see you use SchedulerPro / Gantt, so I pointed you on wrong article, you use TaskEdit: https://bryntum.com/docs/scheduler-pro/#SchedulerPro/feature/TaskEdit#events
Be aware that some of events have the note "Fires on the owning Scheduler", so you will be able to catch them using onSchedulerEvents(). All the rest need to be catched using the link or passing configs on init:
scheduler.features.taskEdit.taskEditor.on('beforeClose', this.doSomething);
// or in schedulerConfig
taskEditFeature : {
editorConfig: {
listeners: {
beforeShow: () => {
// do something
}
}
}
},
Also, it might be helpful to you to know that TaskEditor doesn't destroyed on close. It's hide/show.
All best,
Alex
Re: [ANGULAR] Scheduler Pro events
Posted: Fri Oct 16, 2020 12:37 pm
by NARESH.RAI
ok,
In same context, i am trying to add new text box in task editor by referring ->
Scheduler Pro - version RC-1
I have added new Items under taskEditFeature which was working and when i create new event and save it i was getting those new Items data from event store
Now i have upgraded to version - 4.0
and same code is not working, means i am able to see those new items under Task edit popup.
but entered data is not able to get from event store, even i am not able to see those parameter for that event.
can u guy check it?
Re: [ANGULAR] Scheduler Pro events
Posted: Thu Oct 29, 2020 2:19 pm
by NARESH.RAI
Any updates?
Re: [ANGULAR] Scheduler Pro events
Posted: Thu Oct 29, 2020 2:32 pm
by mats
Please provide the code which does not work for you.