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,130
    Vote Rating
    517
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar