Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    32
    Vote Rating
    1
    tangalla is on a distinguished road

      0  

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

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

    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.

    Thanks in advance.

  2. #2
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    23
    Vote Rating
    0
    srknori is on a distinguished road

      0  

    Default


    Do you really need both the events?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi