Hi,
I am working on a project where i have following requirements :
onCellClick(args: CellClickEventArgs): void {
this.scheduleObj.openEditor(args, 'Add'); // to open editor window on empty cell click
}
onEventClick(args: EventClickArgs): void {
if (!(args.event as any).RecurrenceRule) {
this.scheduleObj.openEditor(args.event, 'Save'); // to open event editor window on appointment click
}
else {
this.scheduleObj.quickPopup.openRecurrenceAlert();
}
|
onPopupOpen(args: PopupOpenEventArgs): void {
if (args.type == 'Editor') {
(args.element.querySelector('.e-subject.e-field') as any).readOnly = true;
|
onPopupOpen(args: PopupOpenEventArgs): void {
if (args.type == 'Editor') {
(args.element.querySelector('.e-subject.e-field') as any).readOnly = true;
(<any>this.scheduleObj.eventWindow).recurrenceEditor.frequencies = [
'daily',
'weekly',
'monthly',
'yearly',
'none',
];
}
|
<e-views>
<e-view option="Day"></e-view>
<e-view option="Week"></e-view>
<e-view option="Month"></e-view>
</e-views> |