problem in handling selectionchange and itemclick events
problem in handling selectionchange and itemclick events
Hello All,
I have a grid which has selectionchange and itemclick events. On selectionchange performs only when the check box is selected or deselected. But it also fire item click event , which i dont want to do. So i have to prevent the itemclick event on selectionchange. I trid using stopevent and stoppropagation both didnt work.
listeners : {
'selectionchange': function(){
Ext.EventManager.stopPropagation('itemClick'); or
Ext.EventManager.stopEvent('itemClick');
}But
i have some thing working code where i have some delay on itemclick event mean while i am setting some flag based flag i am firing the event . I know this is not the best solution and this solution has some defects too.