1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
    rajasish is on a distinguished road

      0  

    Default Unanswered: Ext.grid.Panel - Scroll Bar Issue

    Unanswered: Ext.grid.Panel - Scroll Bar Issue


    Hi,

    I'm using EXT JS 4.0 and with Ext.grid.Panel I'm stuck with a scroll bar issue.
    Here is the Basic Configuration:


    var grid = Ext.create('Ext.grid.Panel', {
    store: store,
    columnLines: true,
    columns: [{
    text : 'Company',
    flex : 1,
    sortable : false,
    dataIndex: 'company'
    }, {
    text: 'Stock Price',
    columns: [{
    text : 'Price',
    width : 75,
    sortable : true,
    renderer : 'usMoney',
    dataIndex: 'price'
    }, {
    text : 'Change',
    width : 75,
    sortable : true,
    renderer : change,
    dataIndex: 'change'
    }, {
    text : '% Change',
    width : 75,
    sortable : true,
    renderer : pctChange,
    dataIndex: 'pctChange'
    }]
    }, {
    text : 'Last Updated',
    width : 85,
    sortable : true,
    renderer : Ext.util.Format.dateRenderer('m/d/Y'),
    dataIndex: 'lastChange'
    }],
    height: 200,
    title: 'Grouped Header Grid',
    renderTo: 'grid-example',
    viewConfig: {
    stripeRows: true
    }
    });


    But when actual height of the grid is just about 2 rows bigger than 200 px, the scroll within the grid in not appearing.

    I do have a vertical re-size functionality which is breaking because of this.

    User is unable to see the bottom two rows if re-sized to a height that is actually two rows shorter.

    Can anyone give any idea on this?

    Thanks,
    Rajasish

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,065
    Answers
    3498
    Vote Rating
    852
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you tried upgrading to 4.1? The scrolling has been totally revamped to use the browser scroller.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread