onclick in template data
Hi I have created a template and i want to have some clickable text on it
var tpl = <a id="attach" >testfunction</a>
I dont know how to call a internal function by clicking test function .
The template loads dynamically...so i dont have the dataa before hand
after applying the template, setup click handlers on the dom elements. simple.
Sencha - Ext JS Dev Team
Use a click handler on the outer, containing Element, and use the delegate option to target only those elements you want "clickable"