Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-3994 in 4.2.0.663.
  1. #41
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    7
    Vote Rating
    0
    radmila80 is on a distinguished road

      0  

    Default


    Still having scroll problem with IE8 and Ext 4.2.1.883

  2. #42
    Sencha User
    Join Date
    Sep 2013
    Posts
    28
    Vote Rating
    0
    Sundarganesh Ramar is on a distinguished road

      0  

    Default Scroll bar with Cell Model in Editable Grid

    Scroll bar with Cell Model in Editable Grid


    ...Hi,I am using ExtJS 4.2 in my apllication and facing the same problem.i tried with lot solution with help of google but i couldn't. Anyone have Override or plugin for this problem.Please Suggest some solutions to solve. 

  3. #43
    Sencha User
    Join Date
    Dec 2012
    Posts
    3
    Vote Rating
    1
    rlucas6130 is on a distinguished road

      1  

    Default Solution found

    Solution found


    I was working diligently on this issue. It took me forever to trace through the framework to figure out where this was occuring but I finally figured it out. It will depend on a case by case basis but what makes the table jump is a call to 'doLayout' on the grid panel when a click occurs. For each case you must target a 'before' event to turn off layouts like this -> grid.suspendLayouts(); . Then, in the 'after' event turn layouts back on -> grid.resumeLayouts().

    Code:
    listeners: {
               beforecheckchange: function() {
                         keyGrid.suspendLayouts();
               },
               checkchange: function (checkColumn, rowIndex, checked) {
                          keyGrid.resumeLayouts();
               }
    }
    Either way, note that if you can figure out how to implement this for your special case, the issue should be resolved.

  4. #44
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Vote Rating
    96
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    it doesnt work for me. I suspended the layouts on the beforeitemclick event of grid and resumed them on itemclick:

    Code:
    listeners:
    {
      beforeitemclick: function()
      {
        this.suspendLayouts();
        //Ext.suspendLayouts();
      },
      itemclick: function()
      {
        this.resumeLayouts(true);
        //Ext.resumeLayouts(true);
      }
    }
    is there something wrong I am doing or this is what you meant?

    I am using ExtJS 4.0.7 and testing in FF 27.0.1.

  5. #45
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Vote Rating
    96
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    because of some strange reason, the itemclick and beforeitemclick events are not firing at all. but beforeselect and select do. I tried to suspend layout there.

    suspendLayouts() and resumeLayouts() are not available in 4.0.7. I tried using grid.suspendLayout = true; and grid.suspendLayout(true); but they dont seem to help (I am not unsuspending layouts just to make sure that the jump doesnt take place) but still no progress... the effect happens in FF and IE (havent tested in Chrome).

    I also tried using the override with row selection model and checked the code of onRowMouseDown in later versions (4.2.2) but that doesnt seem to fix it either.

  6. #46
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Vote Rating
    96
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    from my investigation, i found that the focusRow method of Ext.view.Table is the problem. Here it tries to calculate the "adjustment" based on selected record and then calls panel.scrollByDeltaY(adjustment); This causes the view to jump.

    Currently, I have overridden onLastFocusChanged method of Ext.selection.RowModel (which I am using in my grid) and put supressFocus = true; in it so that it doesnt try to focus the rows. This stops the jumping of the view but the disadvantage is that the scrolling wont work when the user moves cursor up/down to move selection. So may be its not the best way to solve it but in my application, it might just do.

  7. #47
    Sencha User
    Join Date
    May 2014
    Posts
    1
    Vote Rating
    0
    the4thd is on a distinguished road

      0  

    Default


    Someone please provide with the fix or workaround for Ext Gwt also

  8. #48
    Sencha User
    Join Date
    Dec 2012
    Posts
    3
    Vote Rating
    1
    rlucas6130 is on a distinguished road

      0  

    Default


    I'm sorry. I forgot to specify that I am using EXT JS 4.2 (not touch).