1. #1
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Question Event AFTEREDIT is not triggered when CheckBox is checked

    Event AFTEREDIT is not triggered when CheckBox is checked


    We need to enable the save button on any modification in the Store. The below code is working fine however it fails for checkbox.

    Please let us know if any workaround is there to solve this problem.

    Code:
    grid4.addListener('afteredit', function (e){			
    	grid4.topToolbar.items.get('export').disable();
    	grid4.topToolbar.items.get('import').disable();
    	grid4.topToolbar.items.get('save').enable();
    });
    
     var checkColumn = new Ext.grid.CheckColumn({
           header: "Ranking",
           dataIndex:'ranking',
           width:50
     });
    Thanks
    Suresh M R

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    try using the the 'checked' event

  3. #3
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Default


    No, event "checked" is not working...

  4. #4
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Default


    Is it a bug?

  5. #5
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I'm sorry - it's check. I responded early in the morning with eye crusties.

    http://tdg-i.com/img/screencasts/2008-02-22_0948.swf
    PHP Code:
    var cb = new Ext.form.Checkbox({
        
    applyTo    'checkbox1',
        
    name    'checkbox1'
        
    boxLabel'test label'
    });



    cb.on('check'
        function(
    fieldnewValoldVal ) { 
            
    Ext.MessageBox.alert('WOOT!''Checkbox has been clicked');
        }
    ); 

  6. #6
    Ext User para's Avatar
    Join Date
    Apr 2007
    Location
    Redmond, WA
    Posts
    918
    Vote Rating
    -2
    para has a little shameless behaviour in the past

      0  

    Default


    Read the docs. You'll notice that 'afteredit' doesn't exist for Checkbox, but 'check' does.
    Reading the docs will help you, and us.
    http://extjs.com/deploy/dev/docs/?cl....form.Checkbox

  7. #7
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Default


    Thanks djliquidice.

    I tried, it works for Form but not for the Grid. I am using CheckColumn.

  8. #8
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by para View Post
    Reading the docs will help you, and us.
    ssh!! don't tell all of our secrets

  9. #9
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    that's a bit different as it's *not* using a checkbox. try the 'click' event.

  10. #10
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Default


    Something Tricky, I have tried all possible events.

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