Results 1 to 2 of 2

Thread: problem in handling selectionchange and itemclick events

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Vote Rating

    Default 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.

    selModel: Ext.create('AppShell.lib.CheckboxModel' ,{

    listeners : {
    'selectionchange': function(){
    Ext.EventManager.stopPropagation('itemClick'); or

    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.

    Thanks in advance.

  2. #2
    Ext JS Premium Member
    Join Date
    Mar 2010
    Vote Rating


    Do you really need both the events?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts