Changeset 30

Show
Ignore:
Timestamp:
10/08/08 02:06:23 (4 years ago)
Author:
tsuckowhomberg
google:author:
tsuckowhomberg
Message:
  • enhancement: removed programmatically invoking scroll in IE when the grid is rendered,

since this was fixed due to the css changes in a previously version

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r29 r30  
    1  
     1 - enhancement: removed programmatically invoking scroll in IE when the grid is rendered, 
     2since this was fixed due to the css changes in a previously version 
    23 - fixed: (RowSelectionModel.js) method "isSelected()" would lose it's original argument 
    34while processing it, which could lead to erroneous behavior 
  • trunk/src/GridView.js

    r28 r30  
    155155 
    156156    /** 
    157      * Needed to indicate that IE has rendered the scrollbar properly. Used in 
    158      * adjustBufferInset to tell whether IE has to activate the scrollbar 
    159      * programmatically, otherwise it would be rendered as disabled. 
    160      * @type {Boolean} _scrollInit 
    161      * @private 
    162      */ 
    163     _scrollInit : false, 
    164  
    165     /** 
    166157     * Stores the height of the header. Needed for recalculating scroller inset height. 
    167158     * @param {Number} 
     
    15951586 
    15961587        this.liveScrollerInset.style.height = (hiddenRows == 0 ? 0 : contHeight+(hiddenRows*this.rowHeight))+"px"; 
    1597  
    1598         // do action with the scrolling! IE would otherwise render the scrollbar as 
    1599         // disabled when the scrollbar is shown for the first time and there are 
    1600         // more records in the grid than displayable 
    1601         if (Ext.isIE && !this._scrollInit) { 
    1602             this._scrollInit = true; 
    1603             this.adjustScrollerPos(1, true); 
    1604             this.adjustScrollerPos(-1, true); 
    1605         } 
    16061588    }, 
    16071589