Threaded View

  1. #1
    Sencha User
    Join Date
    Jan 2010
    Posts
    15
    Vote Rating
    1
    Salah91 is on a distinguished road

      1  

    Default Answered: Grouping feature events don't get triggered

    Answered: Grouping feature events don't get triggered


    Hi everyone!

    I have an issue when using the grid grouping feature.
    I'd like to catch the 'click' event so I added the listener like this :
    Code:
    var groupingFeature = Ext.create('Ext.grid.feature.Grouping',{        groupHeaderTpl: 'Cuisine: {name} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})',
        listeners: {
            'click': function() {
                alert("test");
            }
        }
    
        });


    And I get this error in console :
    Code:
    Uncaught TypeError: Cannot read property 'click' of undefined
    I used the sample code : http://dev.sencha.com/deploy/ext-4.0...groupgrid.html
    The grouping feature works well, I just can't catch the events.

    Any idea of what's going on ?
    Thanks for your time.

    Edit : Same issue with 'groupclick' and 'groupcollapse' events.

  2. try also to add this as a grid property!
    Code:
            viewConfig : {
                listeners : {
                    'groupclick' : function() {
                        alert('success');
                    }
                }
            }

Thread Participants: 1

Tags for this Thread

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