itemdoubleclick event in ExtJS Charts
Posted
by Abdel Olakara
on Stack Overflow
See other posts from Stack Overflow
or by Abdel Olakara
Published on 2010-06-03T11:43:19Z
Indexed on
2010/06/03
11:44 UTC
Read the original article
Hit count: 305
extjs
Hi all,
I got a strange issue today while working on ExtJS charts. I am trying to use some of the events for the chart when user clicks on the chart items. I found the following events are available:
itemclick, itemdoubleclick, itemdrag, itemdragstart, itemdragend, itemmouseover, itemmouseout
Here is my test chart where I have implemented all these events. Each event just create a list tag in my debuging console. The issue is, no matter what, itemdoubleclick do not get fired! what is the issue? Why is it not getting fired?
xtype:'columnchart',
width:600,
height:350,
id:'myChart',
store: store,
xField: 'month',
yField: 'sales',
listeners: {
itemdoubleclick: function(o) {
var dh = Ext.DomHelper;
dh.append('consoleList', {tag: 'li', html: 'itemdoubleclick'});
}
}
In firebug console, I see that this event is registered.
PS: In my code above, I have put only the event that is not working.
Thanks in advance for your ideas and suggestions.
© Stack Overflow or respective owner