Changeset 43

Show
Ignore:
Timestamp:
05/02/09 14:00:14 (3 years ago)
Author:
tsuckow
Message:
Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r38 r43  
    1 Version 0.3RC2 (GPL) 
     1 
     202-May-2009 
     3 - enhancement: "load" event from the store would still fire even if the store 
     4would only buffer; added "suspendLoadEvent" to the list of options so the store does suspend 
     5its events once a buffer finished (see http://www.extjs.com/forum/showthread.php?p=324046#post324046) 
     6 
     7Version 0.3 (GPL) 
     802-May-2009 
     9 
     10Version 0.3RC2 (GPL) 
    21107-December-2008 
    312 
  • trunk/src/GridView.js

    r38 r43  
    913913    { 
    914914        if (success === true) { 
     915            this.adjustBufferInset(); 
     916 
    915917            this.fireEvent('buffer', this, this.ds, this.rowIndex, 
    916918                Math.min(this.ds.totalLength, this.visibleRows-this.rowClipped), 
     
    14351437 
    14361438        var opts = { 
    1437             forceRepaint : forceRepaint, 
    1438             callback     : this.liveBufferUpdate, 
    1439             scope        : this, 
    1440             params       : params 
     1439            forceRepaint     : forceRepaint, 
     1440            callback         : this.liveBufferUpdate, 
     1441            scope            : this, 
     1442            params           : params, 
     1443            suspendLoadEvent : true 
    14411444        }; 
    14421445 
  • trunk/src/Store.js

    r36 r43  
    560560        } 
    561561 
     562        if (options.suspendLoadEvent === true) { 
     563            this.suspendEvents(); 
     564        } 
    562565        Ext.ux.grid.livegrid.Store.superclass.loadRecords.call(this, o, options, success); 
     566        if (options.suspendLoadEvent === true) { 
     567            this.resumeEvents(); 
     568        } 
    563569    }, 
    564570