1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    55
    Vote Rating
    0
    varunjyoti is on a distinguished road

      0  

    Default Unanswered: Scroll Bar in GriPanel

    Unanswered: Scroll Bar in GriPanel


    Hi

    I have a grid panel. Its not having scroll bar in it when content gets large. I have tried autoScroll:true, scroll:true,
    and verticalScroller: {
    xtype: 'paginggridscroller'
    },

    But none of these has worked.

    Code:
    Ext.define('DG.view.attribute.Grid', {
        extend: 'Ext.grid.Panel',
        alias: 'widget.attribute_grid',
        frame: true,
        store: 'Attributes',
        isAttibuteTypeReq : false,
        width:800,
         height:450,
        
        columns: [
        {
            text : "ID",
            width : 30,
            dataIndex : 'attributeId',
            sortable : true     
        },    
        {
            text : "Name",
            width : 150,
            dataIndex : 'attributeName',
            sortable : true, 
        }]
    })
    I am using EXT JS 4.0.2. I want vertical scroll bar when the grid content overflows.

    Thanks. Please help

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Answers
    21
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Have you tried ? :
    Code:
    viewConfig:{
        autoScroll: true
    }

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    55
    Vote Rating
    0
    varunjyoti is on a distinguished road

      0  

    Default


    vadimv,

    It did not work. Any other suggestions? I am using 4.0.2. Scroll bars are working in 4.0.1. But for some other reason, i cant use 4.0.1.

    Thanks

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Answers
    21
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    scrollbars were not showed at all ? one of the : viewConfig or scroll:true, should work....., supposing you configured the widths wrong, then the vertical should be displayed if you have enough records. Other suggestion is why you don't try 4.0.7, I'm using 0.7, and it has less problems with the scrollbar, in my apps it works ok, even if many users claimed that are buggy but I think in 0.7 will be less problems than in 0.2, more than this if you are saying that in 0.1 are working.

  5. #5
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Sometimes it works to load your grid after rendering of the grid and its view. But these scrollers are really a problem, they say it will be fixed in 4.1.

    And, a suspendEvents on a store, before load, will destroy your scrollers also

  6. #6
    Sencha User a_arias's Avatar
    Join Date
    Aug 2011
    Location
    Florida
    Posts
    28
    Answers
    1
    Vote Rating
    0
    a_arias is on a distinguished road

      0  

    Default could it be you don't have enough rows?

    could it be you don't have enough rows?


    I'm having a similar issue. However, when I add a certain amount of rows, the scroll bar magically appears.

    The tread is here.

    Maybe these issues are related?

  7. #7
    Sencha User
    Join Date
    Feb 2011
    Posts
    13
    Vote Rating
    0
    Mathias.Deshayes is on a distinguished road

      0  

    Default


    Try to change height property by the maxHeight one.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi