[CLOSED] Can't scroll Horizontaly in GridPanel after upgrade to Version 2.2

  1. #1

    [CLOSED] Can't scroll Horizontaly in GridPanel after upgrade to Version 2.2

    Hi,

    After Upgrading from 2.1 to 2.2, we have lost the ability to Horizontal scroll in a GridPanel.

    Click image for larger version. 

Name:	GridPanel-HorizontalScroll.PNG 
Views:	24 
Size:	42.1 KB 
ID:	6212

                GridPanel grid = new GridPanel();
                grid.ID = definition.Name;
                grid.StateID = "State_" + definition.Name;
                grid.Stateful = true;
                grid.MultiSelect = false;
                grid.ManageHeight = true;
                grid.EnableColumnResize = true;
                grid.EnableColumnMove = true;
                grid.EnableColumnHide = true;
                grid.Resizable = false;
                grid.OverflowX = Overflow.Scroll;
                grid.Scroll = ScrollMode.Horizontal;
    Please advise
    Last edited by Daniil; May 21, 2013 at 3:48 AM. Reason: [CLOSED]
  2. #2
    Hi @kieron,

    Likely it is a problem in layout configuration of a GridPanel's container, not of the GridPanel's settings itself.

    Could you provide a full test case to reproduce the problem?
  3. #3

    Quick fix for loss of Horizontal Scroll Bar

    Hi,

    I found the following article about the loss of horizontal bar: http://www.sencha.com/forum/showthre...d-ExtJS-to-4.2

    To apply this fix to Ext.net Grid Panel I changed the above code to:
    			GridPanel grid = new GridPanel();
    			grid.ID = definition.Name;
    			grid.StateID = "State_" + definition.Name;
    			grid.Stateful = true;
    			grid.MultiSelect = false;
    			//grid.ManageHeight = true;
    			grid.EnableColumnResize = true;
    			grid.EnableColumnMove = true;
    			grid.EnableColumnHide = true;
    			grid.Resizable = false;
    			//grid.OverflowX = Overflow.Scroll;
    			//grid.Scroll = ScrollMode.Horizontal;
    			grid.Height = definition.PixelHeight;
  4. #4
    Nice.

    We will appreciate if you provide us with a sample to reproduce. We would, probably, report it to Sencha as a bug.

Similar Threads

  1. Replies: 13
    Last Post: Mar 27, 2013, 11:52 PM
  2. [CLOSED] Style changed after upgrade to latest version
    By jchau in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 18, 2013, 7:51 PM
  3. Upgrade Ext.net library version
    By xMAC in forum 1.x Help
    Replies: 1
    Last Post: Jul 13, 2012, 8:15 PM
  4. Replies: 0
    Last Post: Jun 18, 2012, 7:50 AM
  5. Upgrade to Coolite version 0.8.2
    By CasualXX in forum 1.x Help
    Replies: 1
    Last Post: Jun 10, 2010, 4:03 PM

Tags for this Thread

Posting Permissions