cnq77f

Jan 05 2009

Ext2.0a GridPanel scrolling & GridView

Filed under: xn--cnq77f.com

  • Hi All,

    I can't get the grid to scroll on 2.0a. I have:



    gridProducts = new Ext.grid.GridPanel({
    ds: dsProducts
    ,el: 'grid-products'
    ,cm: colm
    ,ddGroup: 'ddReclass'
    ,layout: 'fit'
    ,autoHeight: true
    ,autoWidth: true
    ,autoScroll: true
    //,view: 'gvProducts'
    });


    and then in the page:



  • There are a ton of grid examples in the front page of extjs.com :)


  • I recently had a similar problem (using Ext JS 2.0 b1) which I solved as follows -- maybe this will benefit someone searching the forums...

    My specific problem: Scrollbars would never appear for a GridPanel when it was the sole content of the center region of a ViewPort. I was specifying, among other things, "autoScroll:true" and "autoHeight:true".

    Solution: removing the "autoHeight:true" config parameter fixed the problem (the scrollbars then appeared when appropriate).

    So my successful GridPanel declaration specified no autoHeight, height, nor width config parms.

    Thanks to all of the question askers and especially the answerers -- these forums have been a great resource to me.

    -radio1







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Ext2.0a GridPanel scrolling & GridView , Please add it free.
    edit