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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column button

Thread ID:





144651 May 15,2019 06:05 PM UTC May 16,2019 12:53 PM UTC Angular - EJ 2 1
Tags: Grid
Emerson Luis Koslovski
Asked On May 15, 2019 06:05 PM UTC

Hi, I can set the properties of a button inside a ng-template, at runtime, I create the columns dynamically, and add the button in the template property, but this way I can only use the existing button, but I need to define other properties for him

Thavasianand Sankaranarayanan [Syncfusion]
Replied On May 16, 2019 12:53 PM UTC

Hi Emerson, 

Thanks for contacting Syncfusion support. 

We have validated your query. You can achieve your requirement by binding click event to the button. In the below sample we have rendered the button in columnTemplate and changed the properties dynamically using click event of the button. 

Please refer the below sample and documentation link for your reference. 

Please get back to us if you need further assistance. 

Thavasianand S. 


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