You can achieve your requirement by using the popupOpen event of the schedule, as shared in the below snippet.
Sample: https://stackblitz.com/edit/angular-xgvhun?file=app.component.ts
Api: https://ej2.syncfusion.com/angular/documentation/api/schedule#popupopen
[app.component.ts]
public onPopupOpen(args: PopupOpenEventArgs): void { if (args.type == 'QuickInfo' && args.target && args.target.classList.contains('e-work-cells')) { const formElement: HTMLElement = args.element.querySelector( '.e-cell-popup' ) as HTMLElement; const buttonEle: HTMLElement = createElement('button', { className: 'e-start-stop e-text-ellipsis e-lib e-flat', innerHTML: "Start/Stop" }); (formElement.querySelector('.e-popup-footer') as HTMLElement).appendChild(buttonEle); const button: Button = new Button({ }); button.appendTo(buttonEle); button.element.onclick = (): void => { alert("customize here"); }; } } |