OnClick for template

How do I get the details of a clicked button in a template?. http://webix.com/snippet/12fdaad4
If a template contains, multiple buttons, I would like to know the respected name.

you can access the clicked button from ev.target

that returns only the html part of the button and not the name.

It returns the instance of clicked button. You can get any passed parameter.

Use ev.target.getAttribute(“your-attribute”) to get needed parameter. http://webix.com/snippet/2898cd87

Thank you.