Nov 27, 2013, 11:37 AM
i can add event click and dblclick to ext:label?
i look this post http://forums.ext.net/showthread.php...el-click-event about add event to FielLabel and write my code for ext:label:
please help me..
thanks..
ps. example from link post - not fire too..
var onAfterRenderLabel = function (lbl) {
var label = lbl;
label.on("click", function () {
console.log('click', this);
alert(this.text);
},
lbl);
console.log(lbl);
};
<ext:Label ID="lb1r" runat="server" Html="" Cls="ellipsis" >
<Listeners>
<AfterRender Fn="onAfterRenderLabel" />
</Listeners>
</ext:Label>
but event not fire ... please help me..
thanks..
ps. example from link post - not fire too..
Last edited by asics167; Nov 28, 2013 at 5:26 AM.