Results 1 to 2 of 2

Thread: Ext.grid.Panel - Scroll Bar Issue

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Vote Rating

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


    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?


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Have you tried upgrading to 4.1? The scrolling has been totally revamped to use the browser scroller.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Tags for this Thread

Posting Permissions

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