

|
Hi Domantas ,
Thanks for using Syncfusion products.
We have validated your query with shared code snippet. You can integrate buttons in header using “header” property along with binding click event. It accepts both HTML Element and string. We have achieved specified requirement, and updated the sample below. We have covered the below things in the sample:
Demo Link: https://angular-wxpqk1.stackblitz.io
Api Reference: https://ej2.syncfusion.com/documentation/dialog/api-dialog.html?lang=typescript#header
Please let us know if you need any further assistance on this.
Regards,
Narayanasamy P. |
|
ngAfterViewInit():void{
setTimeout(() => {
document.getElementById('custombtn1').addEventListener('click', () => {
this.myfun();
})
})
} |