Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nürnberg, Germany
    Posts
    78
    Vote Rating
    29
    harrydeluxe has a spectacular aura about harrydeluxe has a spectacular aura about

      0  

    Default [CLOSED][DUP][4.0.0] beforeselect Event in Grid is never fired

    [CLOSED][DUP][4.0.0] beforeselect Event in Grid is never fired


    Here is my work around:

    PHP Code:
    Ext.override(Ext.selection.RowModel
        {
        
    // Allow the GridView to update the UI by
            // adding/removing a CSS class from the row.
            
    onSelectChange: function(recordisSelectedsuppressEvent) {

                var 
    me      this,
                    
    views   me.views,
                    
    viewsLn views.length,
                    
    store   me.store,
                    
    rowIdx  store.indexOf(record),
                    
    0,
                    
    allowSelect true;
                 
                for (; 
    viewsLni++) {
                    if (
    isSelected) {
                        
                        
    allowSelect me.fireEvent('beforeselect'merecordrowIdx) !== false;
                        
                        if (
    allowSelect) {
                            
    views[i].onRowSelect(rowIdxsuppressEvent);
                            if (!
    suppressEvent) {
                                
    me.fireEvent('select'merecordrowIdx);
                            }
                        }
                        
                    } else {
                        
    views[i].onRowDeselect(rowIdxsuppressEvent);
                        if (!
    suppressEvent) {
                            
    me.fireEvent('deselect'merecordrowIdx);
                        }
                    }
                }
            }    
        }); 

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,828
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 8
    Last Post: 5 Oct 2012, 4:49 AM
  2. [FIXED] DataView.beforeselect event is never actually fired
    By jep in forum Sencha Touch 1.x: Bugs
    Replies: 7
    Last Post: 20 Sep 2011, 8:09 AM
  3. [CLOSED][B3] load event not fired
    By harrydeluxe in forum Ext:Bugs
    Replies: 1
    Last Post: 14 Apr 2011, 3:25 PM
  4. Replies: 2
    Last Post: 31 Jan 2010, 7:04 PM

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