1. #1
    Sencha User
    Join Date
    Mar 2009
    Location
    france
    Posts
    74
    Vote Rating
    0
    brigot is on a distinguished road

      0  

    Default autoHeight for grid, but with a max height

    autoHeight for grid, but with a max height


    Hello,

    i have a grid where i load the data with a jsonreader.

    sometime, i have few result ( 2/3 )... sometime i have a big result ( 150 +)

    i wish use autoHeight, but with a max height ( 250 for exemple )
    so if this is possible,

    when i get 2 result, i see a small grid, with only 2 line, and when i get a big result, the grid appear with a height and with a scroll bar.

    is it possible ?

    i have found in the documentation this paramater, for Pannel : boxMaxHeight

    but with that that not work.
    Code:
    ...
            ,autoHeight        : true
            ,boxMaxHeight    : 250
            ,autoScroll     : true
    ...
    Thank you if you can help me !

  2. #2
    Sencha User
    Join Date
    Jul 2009
    Posts
    29
    Vote Rating
    1
    mailme_gx is on a distinguished road

      0  

    Default


    hi brigot Im sorry no one has replied in all this time. I wonder if this may help you

    PHP Code:
    listeners: { bodyresize: function(panelwidthheight) { 
        if(
    this.getHeight() > 250
            
    this.setHeight(250);
    }} 
    GX

Thread Participants: 1

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