Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
How to call Angular2 function inside the ig grid column template
posted

Inside the ig grid column template there is a button..on button click i am trying to call Angular2 function. How can i do that. Is there any grid event to call Angular2 function 

Parents
No Data
Reply
  • 280
    Offline posted

    Hi,

    Thank you for contacting us!

    In order to call a function on button click, you don't need  grid event. You can attach a function to the button as follows:


    <input type = "button" (click) = "functionToCall()" />

    Please let me know if you need any further information.

Children
No Data