PDA

View Full Version : listener itemclick in chart inside Ext.Window



bdom
11 Mar 2010, 5:01 AM
Hi
I´ve tried adding itemclick listener for a lineChart inside a Ext.Window but it doesn´t work.


var panelGrafica = new Ext.Panel({
...........
,
listeners: {
render: function(){
ds.removeAll(true);
ds.load({ params: { 'id': '3' } });
}
}
});

var win = new Ext.Window({
title:'x',
layout:'fit',
maximizable:true,
minimizable:true,
width:600,
height:400,
plain: true,
items: panelGrafica ,
buttons: [{
text: 'Cerrar',
handler: function(){
win.close();
}
}]
});
win.show();

Any assistance is greatly appreciated.