Results 1 to 3 of 3

Thread: Scrollbar overlays last grid column

  1. #1

    Default Scrollbar overlays last grid column

    Hi there,

    I have a grid within some outer border layout with the following properties:

    Code:
    xtype: 'grid',
    store: 'MyStore',
    loadMask: true,
    viewConfig: {forceFit: true},
    region: 'center',
    Within the grid, I have several columns with properties like that:

    Code:
    xtype: 'gridcolumn',
    dataIndex: 'month',
    header: 'Month',
    sortable: true,
    width: 100
    I autoload the store which results in more lines than are visible.

    What happens now, is that the grid expands correctly within the panel and all columns adapt their size - but then the vertical scroll bar overlays the last column:
    OverlayingScrollbar.jpg
    Since the rendering is slow, I can see that first the grid is displayed and then after the lines are filled in, the scrollbar appears.

    Now, when I resize the panel with the split button, it displays the grid and scrollbar correctly.

    Any idea why that happens and how to get it right when opening the view?

    Regards,
    Geziefer

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    480

    Default

    Are you sure the total width of your columns isin't bigger than the grid width itself? The problems goes away if you reduce your column widths?

  3. #3

    Default

    Oh man - it was in deed such simple!
    I thought they would resize in case it's too much and I was distracted by another view which seemed right despite having the same column sizes.

    Thanks, Geziefer

Similar Threads

  1. Incorrect column divider placement of grid with scrollbar
    By jhudson888 in forum Ext GWT: Bugs (2.x)
    Replies: 0
    Last Post: 23 May 2009, 6:16 PM
  2. Horizantal scrollbar in the Grid keeping one column stable
    By lazyProgrammer in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 21 Dec 2008, 11:09 PM
  3. Grid Scrollbar Expands with each column click
    By JRossi in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Dec 2008, 11:27 AM
  4. Hide grid column reserved for scrollbar
    By loganm in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Jul 2008, 5:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •