We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Additional buttons in footer of custom window template

Thread ID:

Created:

Updated:

Platform:

Replies:

146970 Aug 27,2019 09:10 AM UTC Aug 28,2019 10:20 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
Srini
Asked On August 27, 2019 09:10 AM UTC

Hi team,

I want to add some additional buttons as part of the project in the footer of the custom template for the window( other than edit and delete),. Can you please let me know how to do?

Thanks in advance .

Regards,
Srini

Hareesh Balasubramanian [Syncfusion]
Replied On August 28, 2019 10:20 AM UTC

Hi Srini, 

Greetings from Syncfusion Support. 

As per your requirement, we have added an addition Alert button in the footer button collection in the editor window. Kindly refer the below snippet, 

this.dlgButtons = [ { click: this.dlgalertClick.bind(this), buttonModel: { content: 'Alert', isPrimary: true } }, { click: this.dlgBtnClick.bind(this), buttonModel: { content: 'Save', isPrimary: true } }, { click: this.dlgBtnCancel.bind(this), buttonModel: { content: 'Cancel', isPrimary: true } }]; 

   public dlgalertClick: EmitType<object> = () => { 
    alert("Additional Alert Button"); 
  } 

And for the same, we have prepared a sample, which can be viewed from the following link, 

Kindly check the above sample and revert us, if you need any further assistance. 

Regards, 
Hareesh 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon